@Test
public void generateReference () {

  val descriptor = NodeDescriptor.from("popa");
  val creation = 1;
  val generator = new GeneratorReference(descriptor.getFullName(), creation);
  val reference = generator.generate();
  assertThat(reference).isNotNull();
  SoftAssertions.assertSoftly(softly -> {
    softly.assertThat(reference.getDescriptor().getFullName())
        .isNotNull()
        .isEqualTo(descriptor.getFullName());
    softly.assertThat(reference.getIds())
        .isNotNull()
        .isEqualTo(new long[] { 1, 0, 0 });
    softly.assertThat(reference.getCreation())
        .isEqualTo(creation);
  });
}