*/
@Test
public void findOneShouldDelegateToAppropriateRepository() {
Mockito.reset(productRepository);
Product product = new Product();
when(productRepository.findOne(4711L)).thenReturn(product);
assertThat(factory.getInvokerFor(Product.class).invokeFindOne(4711L), is((Object) product));
}