public void RoundEngine_StartRound_6_Monsters_Should_Create_0() { MockForms.Init(); // Clear the datastore... var myMonsterViewModel = MonstersViewModel.Instance; myMonsterViewModel.ForceDataRefresh(); myMonsterViewModel.Dataset.Add(new Monster()); var ListCount = myMonsterViewModel.Dataset.Count; myMonsterViewModel.Dataset.Clear(); MockDataStore.Instance.DeleteTables(); // Remove the data from Mock as well... // Can create a new Round engine... var myRoundEngine = new RoundEngine(); myRoundEngine.MonsterList.Add(new Monster()); myRoundEngine.MonsterList.Add(new Monster()); myRoundEngine.MonsterList.Add(new Monster()); myRoundEngine.MonsterList.Add(new Monster()); myRoundEngine.MonsterList.Add(new Monster()); myRoundEngine.MonsterList.Add(new Monster()); myRoundEngine.AddMonstersToRound(); var Actual = myRoundEngine.MonsterList.Count; var Expected = GameGlobals.MaxNumberPartyPlayers; // Restore the datastore MockDataStore.Instance.InitializeDatabaseNewTables(); Assert.AreEqual(Expected, Actual, "Monster List" + TestContext.CurrentContext.Test.Name); Assert.AreNotEqual(Expected, ListCount, "View Model " + TestContext.CurrentContext.Test.Name); }