public void Argument_WithNameAndValue() { var expectedName = "Test"; var expectedValue = Dates.February(4, 2000); var target = Verify.Argument(expectedName, expectedValue); target.Argument.Name.Should().Be(expectedName); target.Argument.Value.Should().Be(expectedValue); }
public void Ctor_WithNameAndValue() { var expectedName = "Test"; var expectedValue = Dates.February(1, 1970); var target = new Argument <Date>(expectedName, expectedValue); target.Name.Should().Be(expectedName); target.Value.Should().Be(expectedValue); }
public void February_WithDayYear() { var expectedDay = 10; var expectedYear = 2013; var target = Dates.February(expectedDay, expectedYear); target.Day.Should().Be(expectedDay); target.Year.Should().Be(expectedYear); target.Month.Should().Be(Months.February); }
public void February_IsValid() { Dates.February().Month.Should().Be(Months.February); }