@Test
public void should_find_object_included_in_another() 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);
    //In this test we see the object id in the file not in the name of the file. So we
    //consider that our id is object1
    assertThat(loader.contains(repoDirectory, "objet1")).isTrue();
}