factory = factory.newInstance(); factory.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); assertEquals(true, factory.getFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES)); assertEquals(false, factory.getFeature(XmlPullParser.FEATURE_VALIDATION));
wrappedFactory = wrappedFactory.newInstance(); wrappedFactory.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); assertEquals(true, wrappedFactory.getFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES)); assertEquals(false, wrappedFactory.getFeature(XmlPullParser.FEATURE_VALIDATION));
    protected void setUp() throws XmlPullParserException {        factory = factory.newInstance();        factory.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true);        assertEquals(true, factory.getFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES));        assertEquals(false, factory.getFeature(XmlPullParser.FEATURE_VALIDATION));    }