public static void ToString___Should_return_friendly_string_representation_of_object___When_called()
        {
            // Arrange
            var systemUnderTest = new CalendarYear(2017);

            // Act
            var toString = systemUnderTest.ToString();

            // Assert
            toString.Should().Be("CY2017");
        }
Exemplo n.º 2
0
        public string ToString_EqualsYearNumString(int yearNum)
        {
            var calYear = new CalendarYear(yearNum);

            return(calYear.ToString());
        }