@Test
public void generate () {

  val descriptor = NodeDescriptor.from("popa");
  val creation = 1;
  val generator = new GeneratorPort(descriptor.getFullName(), creation);
  val port = generator.generate();
  assertThat(port).isNotNull();
  SoftAssertions.assertSoftly(softly -> {
    softly.assertThat(port.getDescriptor().getFullName())
        .isNotNull()
        .isEqualTo(descriptor.getFullName());
    softly.assertThat(port.getId())
        .isEqualTo(1);
    softly.assertThat(port.getCreation())
        .isEqualTo(creation);
  });
}