public void UnreleasedGameTest() { Instant pickupTime = InstantPattern.ExtendedIso.Parse("2018-01-02T12:34:24Z").GetValueOrThrow(); Instant nowTime = InstantPattern.ExtendedIso.Parse("2018-08-02T12:34:24Z").GetValueOrThrow(); IClock fakeClock = new FakeClock(nowTime); ScoringSystem standardScoring = ScoringSystem.GetScoringSystem("Standard"); MasterGame masterGame = new MasterGame(Guid.NewGuid(), "", "", new LocalDate(2018, 10, 20), null, null, 2018, StandardEligibilityLevel, false, false, ""); PublisherGame testGame = new PublisherGame(Guid.NewGuid(), "", pickupTime, false, null, null, new MasterGameYear(masterGame, 2018), null, null, 2018); decimal?fantasyPoints = standardScoring.GetPointsForGame(testGame, fakeClock, leagueWideValues); Assert.AreEqual(null, fantasyPoints); }