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:
parent
f19304cd06
commit
4143a12a0e
|
@ -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() );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue