### Question:
BeanConfigurationAdapter implements ConfigurationAdapter { @Override public Object getConfigurationValue( String name ) throws ConfigurationException { try { return PropertyUtils.getSimpleProperty( bean, name ); } catch( Exception e ) { throw new ConfigurationException("", e ); } } BeanConfigurationAdapter( Object bean ); @Override Object getConfigurationValue( String name );  }### Answer:
@Test public void test() { Bean bean = new Bean(); BeanConfigurationAdapter adapter = new BeanConfigurationAdapter( bean ); assertThat( adapter.getConfigurationValue( "value" ).toString(), is( "beanValue" ) ); }