public void TranslatePossibleBe_T_ToOutcome_T_ShouldBeResultFailure() { PossibleBe <CustomerTest> possibleBeCustomer = null; Outcome <CustomerTest> outcomeCustomer = possibleBeCustomer.TranslateToOutcome("error"); outcomeCustomer.Failure .Should() .BeTrue(); outcomeCustomer.Value .Should() .BeNull(); outcomeCustomer.ErrorMessages .Should() .HaveCount(1); }