public void 次の月があるかのテスト() { int userID = this.getUserID(testLoginNo); MonthlyReport _mr = new MonthlyReport(2013, userID); _mr.setMonth(4); Assert.AreEqual(true, _mr.existsNextMonth()); _mr.setMonth(12); Assert.AreEqual(true, _mr.existsNextMonth()); _mr.setMonth(1); Assert.AreEqual(true, _mr.existsNextMonth()); _mr.setMonth(3); Assert.AreEqual(false, _mr.existsNextMonth()); }