diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/invoke/ReflectionRepositoryInvokerIntegrationTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/invoke/ReflectionRepositoryInvokerIntegrationTests.java index 5d4e4e1d2..a40de24f3 100644 --- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/invoke/ReflectionRepositoryInvokerIntegrationTests.java +++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/invoke/ReflectionRepositoryInvokerIntegrationTests.java @@ -158,7 +158,7 @@ public class ReflectionRepositoryInvokerIntegrationTests extends AbstractIntegra MyRepo repository = mock(MyRepo.class); - MongoRepositoryFactoryBean factory = new MongoRepositoryFactoryBean(); + MongoRepositoryFactoryBean factory = new MongoRepositoryFactoryBean(); factory.setMongoOperations(new MongoTemplate(mock(MongoDbFactory.class))); factory.setRepositoryInterface(MyRepo.class); factory.setLazyInit(true); @@ -177,7 +177,9 @@ public class ReflectionRepositoryInvokerIntegrationTests extends AbstractIntegra } - interface MyRepo extends CustomRepo, CrudRepository {} + interface MyRepo extends CustomRepo, CrudRepository {} + + interface Domain {} interface CustomRepo { void delete(ObjectId id);