@Test
public void shouldOverwriteContent() {

    Preparation expected = getPreparation("khdgf");
    expected.setName("old name");
    repository.add(expected);
    expected.setName("new name");
    repository.add(expected);
    final Preparation actual = repository.get(expected.id(), Preparation.class);
    assertEquals(expected, actual);
}