@Test
public void shouldRetrievePropertyWithStringValue() {
Map<String, Object> properties = new HashMap<String, Object>();
properties.put( "service", MyServiceImpl.class.getName() );
ConfigurationPropertyReader reader = new ConfigurationPropertyReader( properties, new ClassLoaderServiceImpl() );
MyService value = reader.property( "service", MyService.class )
.instantiate()
.getValue();
assertThat( value.getClass() ).isEqualTo( MyServiceImpl.class );