Search in sources :

Example 1 with QuerydslBindingsFactory

use of org.springframework.data.querydsl.binding.QuerydslBindingsFactory in project spring-data-commons by spring-projects.

the class QuerydslPredicateArgumentResolverUnitTests method setUp.

@BeforeEach
void setUp() {
    resolver = new QuerydslPredicateArgumentResolver(new QuerydslBindingsFactory(SimpleEntityPathResolver.INSTANCE), Optional.empty());
    request = new MockHttpServletRequest();
}
Also used : QuerydslPredicateArgumentResolver(org.springframework.data.web.querydsl.QuerydslPredicateArgumentResolver) MockHttpServletRequest(org.springframework.mock.web.MockHttpServletRequest) QuerydslBindingsFactory(org.springframework.data.querydsl.binding.QuerydslBindingsFactory) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

BeforeEach (org.junit.jupiter.api.BeforeEach)1 QuerydslBindingsFactory (org.springframework.data.querydsl.binding.QuerydslBindingsFactory)1 QuerydslPredicateArgumentResolver (org.springframework.data.web.querydsl.QuerydslPredicateArgumentResolver)1 MockHttpServletRequest (org.springframework.mock.web.MockHttpServletRequest)1