public void FormatToday_Iso_Utc() { var clock = new Mock<IClock>(); var diary = new Diary(clock.Object, CalendarSystem.Iso, DateTimeZone.Utc); string today = diary.FormatToday(); Assert.AreEqual("1970-01-01", today); }
public DiaryPresenter(Diary diary, License license) { _diary = diary; _license = license; }