@Test
public void tryToGetInstanceWithNullCommand() {

    assertThatNullPointerException()
            .isThrownBy(() -> MetadataFromSignal.of(null, null, entity.getMetadata().orElse(null)))
            .withMessage("The signal must not be null!")
            .withNoCause();
}