@Test
public void shouldNotCopyStepsBecauseReferencePreparationIsNotFound() throws Exception {

    // given
    final String preparationId = createPreparation("154753", "preparation");
    final Preparation expected = repository.get(preparationId, Preparation.class);
    // when
    final Response response = given() //
            .param("from", "not to be found") //
            .when() //
            .expect()
            .statusCode(200)
            .log()
            .ifError() //
            .put("/preparations/{id}/steps/copy", preparationId);
    // then
    assertThat(response.getStatusCode(), is(200));
    final Preparation actual = repository.get(preparationId, Preparation.class);
    assertEquals(expected, actual);
}