public void IsMonthOfPeriod(int period, int referenceMonth, int month, bool expectedIsPeriodMonth) { var entity = new StandingOrderEntityImp { MonthPeriodStep = period, ReferenceDay = 1, ReferenceMonth = referenceMonth }; Assert.That(entity.IsMonthOfPeriod(month), Is.EqualTo(expectedIsPeriodMonth)); }