public void IsAnyNullOrEmpty_InputIsNotEmptyButValuesNull_ReturnTrue() { // Arrange var emptyObject = new QuestionOrderDto(); var isAnyEmpty = Util.IsAnyNullOrEmpty(emptyObject); // Assert Assert.IsTrue(isAnyEmpty); }
public void IsAnyNullOrEmpty_InputIsNotEmptyButSingleValueIsNull_ReturnFalse() { // Arrange var emptyObject = new QuestionOrderDto { OrderNbr = 1, QuestionId = 1 }; var isAnyEmpty = Util.IsAnyNullOrEmpty(emptyObject); // Assert Assert.IsTrue(isAnyEmpty); }