@Test
public void should_return_all_registered_mock_names() {

	//given
	final String firstMockName = "firstService";
	final String secondMockName = "secondService";
	final String firstSpyName = "spy1";
	final String secondSpyName = "spy2";
	final DoubleRegistry registry = new DoubleRegistry(
			asList(
					doubleDefinition(Service.class, firstMockName),
					doubleDefinition(OtherService.class, secondMockName)),
			asList(
					doubleDefinition(Service.class, firstSpyName),
					doubleDefinition(Service.class, secondSpyName)));
	//when
	final Collection<String> mockNames = registry.getRegisteredDoubleNames();
	//then
	assertEquals(4, mockNames.size());
	assertThat(mockNames, containsInAnyOrder(firstMockName, secondMockName, firstSpyName, secondSpyName));
}