public void CreatingFromDefault_ObjectNotBeingNull_CreatesSuccessTrue() { // Act var sut = FunctionResult.CreateFromDefault(new object()); // Assert sut.IsSuccess.Should().BeTrue(); }
public void CreatingFromDefault_ValueBeingDefault_CreatesSuccessFalse() { // Act var sut = FunctionResult.CreateFromDefault(0); // Assert sut.IsSuccess.Should().BeFalse(); }
public void CreatingFromDefault_ValueNotBeingDefault_CreatesSuccessTrue(object value) { // Act var sut = FunctionResult.CreateFromDefault(value); // Assert sut.IsSuccess.Should().BeTrue(); }