question: making sure that the same instance of saxparserfactory is used if injected multiple times in the same thread . concode_field_sep SAXParserFactory ff1 concode_elem_sep Configuration EMPTY_CONFIG concode_elem_sep SAXParserFactory ff2 concode_elem_sep Provider<SAXParserFactory> f concode_elem_sep SAXParserFactory f1 concode_elem_sep SAXParserFactory f2 concode_elem_sep ServiceLocator locator concode_field_sep Set<Object> getInstances concode_elem_sep void xmlReaderDoesNotResolveExternalParameterEntities concode_elem_sep Object getProperty concode_elem_sep void testDifferentForDifferentThreads concode_elem_sep ServiceLocator createServiceLocator concode_elem_sep Map<String,Object> getProperties concode_elem_sep RuntimeType getRuntimeType concode_elem_sep Map<Class<?>,Integer> getContracts concode_elem_sep SAXParserFactory getSPFViaProvider concode_elem_sep boolean isEnabled concode_elem_sep boolean isEnabled concode_elem_sep Collection<String> getPropertyNames concode_elem_sep void setUp concode_elem_sep boolean isRegistered concode_elem_sep boolean isRegistered concode_elem_sep SAXParserFactory getSPF concode_elem_sep SAXParserFactory getSPF concode_elem_sep Set<Class<?>> getClasses
target: void function ( ) { f1 = getSPF ( ) ; f2 = getSPF ( ) ; ff1 = getSPFViaProvider ( ) ; ff2 = getSPFViaProvider ( ) ; assertNotNull ( f1 ) ; assertNotNull ( f2 ) ; assertNotNull ( ff1 ) ; assertNotNull ( ff2 ) ; assertSame ( f1 , f2 ) ; assertSame ( f2 , ff1 ) ; assertSame ( ff1 , ff2 ) ; }