Test the getXxx methods

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@394763 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2006-04-17 19:56:08 +00:00
parent f19304cd06
commit 4143a12a0e
1 changed files with 3 additions and 1 deletions

View File

@ -86,10 +86,12 @@ public class CompositeFormatTest extends TestCase {
}
};
Format composite = new CompositeFormat(parser, formatter);
CompositeFormat composite = new CompositeFormat(parser, formatter);
composite.parseObject("", null);
composite.format(new Object(), new StringBuffer(), null);
assertEquals( "Parser get method incorrectly implemented", parser, composite.getParser() );
assertEquals( "Formatter get method incorrectly implemented", formatter, composite.getFormatter() );
}
}