@Test
public void should_find_one_object_included_in_another_and_deserialize_it() throws Exception {

    SimpleDesignerArtifact object1 = aSimpleObjectBuilder().id("objet1").build();
    //My second object contains the first
    SimpleDesignerArtifact object2 = aSimpleObjectBuilder().id("objet2").another(object1).build();
    addToRepository(object1, object2);
    List<SimpleDesignerArtifact> objects = loader.findByObjectId(repoDirectory, "objet1");
    assertThat(objects).containsOnly(object2);
}