use of org.springframework.data.repository.sample.User in project spring-data-commons by spring-projects.
the class RepositoryFactorySupportUnitTests method wrapsExecutionResultIntoCompletableFutureWithEntityCollectionIfConfigured.
// DATACMNS-714
@Test
public void wrapsExecutionResultIntoCompletableFutureWithEntityCollectionIfConfigured() throws Exception {
assumeThat(SPRING_VERSION.isGreaterThanOrEqualTo(FOUR_DOT_TWO), is(true));
List<User> reference = Collections.singletonList(new User());
expect(prepareConvertingRepository(reference).readAllByFirstname("Foo"), reference);
}
Aggregations