@Test
public void should_generate_spy_name_from_provided_argument() {

	//given
	final String spyName = ANY_NAME;
	final MockitoDoubleConfiguration configuration = configurationParser.parseSpyConfiguration(spyName, AnyTest.spy());
	//when
	configuration.createMockSettings(mockSettings);
	//then
	Mockito
			.verify(mockSettings)
			.name(spyName);
}