public void GetLeftYearString_ReturnsRightString(string expectedString, DateTime?leftOfficeDate) { var inOfficeRangeComposer = new InOfficeRangeComposer(); var actualString = inOfficeRangeComposer.GetLeftYearString(leftOfficeDate); Assert.Equal(expectedString, actualString); }
public void GetInOfficeRange_ReturnFromToString(string expectedString, DateTime?tookOffice, DateTime?leftOffice) { var inOfficeRangeComposer = new InOfficeRangeComposer(); var actualString = inOfficeRangeComposer.GetInOfficeRange(tookOffice, leftOffice); Assert.Equal(expectedString, actualString); }