@Test
public void should_resolve_spy_configuration() {

	final Object config = new Object();
	Mockito
			.when(configurationParser.parseSpyConfiguration(doubleName, configAnnotationInstance()))
			.thenReturn(config);
	assertEquals(
			config,
			resolveSpyConfiguration(doubleField()));
}