source: class DoubleConfigurationResolverTest {
  
  	private static final String doubleName;
  	private DoubleConfigurationParser configurationParser;
  	private DoubleConfigurationResolver configurationResolver;
  
  	@Test
  	public void should_resolve_mock_configuration() {
  
target: 		final Object config = new Object();
  		Mockito
  				.when(configurationParser.parseMockConfiguration(doubleName, configAnnotationInstance()))
  				.thenReturn(config);
  
  		assertEquals(
  				config,
  				resolveMockConfiguration(doubleField()));
  	}
  
  }