private final NormalizedNodeXmlBodyWriter xmlBodyWriter;
private static SchemaContext schemaContext;
- public NnToXmlWithChoiceTest() throws NoSuchFieldException,
- SecurityException {
- super();
+ public NnToXmlWithChoiceTest() {
+ super(schemaContext, null);
xmlBodyWriter = new NormalizedNodeXmlBodyWriter();
}
@BeforeClass
public static void initialization() {
schemaContext = schemaContextLoader("/nn-to-xml/choice", schemaContext);
- CONTROLLER_CONTEXT.setSchemas(schemaContext);
}
@Test