@Test
public void invalidThrowsNPEIfCalledWithNull() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> BinaryValidationResult.invalid(null))
            .withMessage("The reasonForInvalidity must not be null!");
}