@Test
public void create_nodes_with_same_name_should_throw_an_exception() {

  final String name = "nb";
  // given
  createNode(name);
  // when
  final Throwable thrown = catchThrowable(() -> createNode(name));
  // then
  assertThrownIsDagBuilderException(thrown);
}