public TheoryDataItem(int expectedCYYMM, int expectedYear, int expectedMonth, IntCYYMM actual, string testDescription) { Actual = actual; ExpectedCYYMM = expectedCYYMM; ExpectedYear = expectedYear; ExpectedMonth = expectedMonth; TestDescription = testDescription; }
public void ConstructorEmpty_DoesNotThrowAndHasDefaultValue() { // Arrange & Act IntCYYMM actual = null; var exception = Record.Exception(() => actual = new IntCYYMM()); // Assert Assert.Null(exception); Assert.Equal(0, actual.CYYMM); }