public void should_correctly_calculate_this_month_start() { var tense = new This(); var place = new Start(); var unit = new Month(_dateTime); var dt = unit.GetDateTime(tense, place); Assert.That(dt, Is.EqualTo(_thisMonthStart)); }
public void should_correctly_calculate_prev_month_end() { var tense = new Prev(); var place = new End(); var unit = new Month(_dateTime); var dt = unit.GetDateTime(tense, place); Assert.That(dt, Is.EqualTo(_prevMonthEnd)); }