public void testInitPropertyReaders() {
factory = spy(factory);
Environment environment = new Environment();
Properties properties = mock(Properties.class);
environment.setProperties(properties);
PropertyReader propertyReader = mock(PropertyReader.class);
environment.getPropertyReaders().add(propertyReader);
when(factory.getEnvironment(any(Properties.class), any(String[].class))).thenReturn(environment);
factory.createFeatureService();