@Test
public void getDetailsWithSpecificStepIdShouldReturn404WhenStepIdNotFound() throws Exception {

    // given
    final String preparationContent =
            IOUtils.toString(this.getClass().getResourceAsStream("base_preparation.json"), "UTF-8");
    final String preparationId = clientTest.createPreparationWithAPI(preparationContent);
    try {
        // when
        clientTest.getDetails(preparationId, "toutouyoutou");
        fail("well done, you managed to get the details out of an unknown step !");
    } catch (MockTDPException e) {
        // then
        assertEquals(404, e.getStatusCode());
    }
}