@Test
public void shouldMoveWithDefaultParameters() throws Exception {

    // given
    final Folder fromFolder = folderRepository.addFolder(home.getId(), "from");
    final Folder toFolder = folderRepository.addFolder(home.getId(), "to");
    final String originalId =
            clientTest.createPreparation(createTestPreparation("yap", "7535"), fromFolder.getId()).getId();
    // when
    final Response response = given() //
            .queryParam("folder", fromFolder.getId()) //
            .queryParam("destination", toFolder.getId()) //
            .when() //
            .expect()
            .statusCode(200)
            .log()
            .ifError() //
            .put("/preparations/{id}/move", originalId);
    // then
    assertThat(response.getStatusCode(), is(200));
    assertThatPreparationIsFirstInsideFolder(originalId, toFolder.getId());
    assertEquals("yap", repository.get(originalId, Preparation.class).getName());
}