title: RestAssuredMvc cannot resolve Pageable
body: <p>I'm using RestAssured in my tests, in which I also mock the service layers. In order to do so, I had to change my test setup from <code>webAppContextSetup</code> to <code>standAloneSetup</code>. This way, I'm able to create an instance of my controller and <code>@InjectMock</code> the mocked services into it.</p>
  <p><strong>Code:</strong></p>
  <pre><code>@BeforeEach
  public void setup() {
      RestAssuredMockMvc.standaloneSetup(controller); -&gt; Brakes test
      RestAssuredMockMvc.webAppContextSetup(webApplicationContext); -&gt; Works fine
  }
  </code></pre>
  <p>The test is the following:</p>
  <pre><code>Mockito.when(findService.findUnreadNotificationItems(Mockito.any(), Mockito.any(), Mockito.any()))
                  .thenReturn(new PageImpl&lt;&gt;(List.of(generateDummyNotificationItemWithId())) {
                  });
  
          final String response = given()
                  .queryParam(&quot;page&quot;, &quot;0&quot;)
                  .queryParam(&quot;size&quot;, &quot;10&quot;)
                  .contentType(ContentType.JSON)
                  .log().all()
                  .when()
                  .get(&quot;/notification/{groupName}/{userName}&quot;, &quot;subacquiring_viewers&quot;, &quot;John.Doe&quot;)
                  .then()
                  .log().all()
                  .assertThat()
                  .statusCode(HttpStatus.OK.value())
                  .extract().asString();
  </code></pre>
  <p>And the endpoint:</p>
  <pre><code>public Page&lt;NotificationItemResponse&gt; findUnreadNotifications(@PageableDefault(size = DEFAULT_PAGE_SIZE) final Pageable pageable,
              @PathVariable final String groupName, @PathVariable final String userName)
  </code></pre>
  <p>When I use the <code>standAloneSetup</code> I get the error:</p>
  <pre><code>No primary or single unique constructor found for interface org.springframework.data.domain.Pageable
  </code></pre>
  <p>I've seen a very similar question with good answers <a href="https://stackoverflow.com/questions/22174665/isolated-controller-test-cant-instantiate-pageable">here</a>, but RestAssuredMvc does not have any resolvers, or at least I found nothing on it searching the web. <strong>Can anyone help me resolve Pageables using RestAssuredMvc's standAloneSetup?</strong></p>