@Test
public void should_register_spy_creation() {

	//final
	final DefaultListableBeanFactory beanFactory = new DefaultListableBeanFactory();
	final DoubleDefinition spyDefinition = DoubleDefinition.builder()
			.name("spy")
			.doubleClass(Object.class)
			.build();
	//when
	registrationContext.registerSpy(beanFactory, spyDefinition);
	bootstrapApplicationContext(beanFactory);
	//then
	Mockito
			.verify(doubleFactory)
			.createSpy(null, spyDefinition);
}