@Test
public void should_register_mock_creation() {

	//final
	final DefaultListableBeanFactory beanFactory = new DefaultListableBeanFactory();
	final DoubleDefinition mockDefinition = DoubleDefinition.builder()
			.name("mock")
			.doubleClass(Object.class)
			.build();
	//when
	registrationContext.registerMock(beanFactory, mockDefinition);
	bootstrapApplicationContext(beanFactory);
	//then
	Mockito
			.verify(doubleFactory)
			.createMock(mockDefinition);
}