@Test
public void should_apply_mock_name_based_on_provided_argument() {

	//given
	final String mockName = ANY_NAME;
	final MockitoDoubleConfiguration configuration = configurationParser.parseMockConfiguration(mockName, AnyTest.mock());
	//when
	configuration.createMockSettings(mockSettings);
	//then
	Mockito
			.verify(mockSettings)
			.name(mockName);
}