public void Constructor_Success() { PlayerFixture pf = new PlayerFixture() { Id = 2, Player = new Player() { Id = 10, Forename = "A", Surname = "B" }, PointsScored = 3, Fouls = 5, IsMvp = "Y" }; PlayerFixtureStats stats = new PlayerFixtureStats(pf, true); Assert.That(stats.HasPlayed, Is.True); }
public void TearDown() { playerFixtureStats = null; }
public void SetUp() { playerFixtureStats = new PlayerFixtureStats(); }