public void Test_RemoveGameObject() { var model = new RoyalGameModel(); int count = model.gameObjects.Count; var stone = BuilderGameObject.CreateStone(model, new PointF(30, 20)); stone.Setup(); model.AddOrUpdateGameObject(stone); Assert.AreEqual(count + 1, model.gameObjects.Count); model.RemoveGameObject(stone); Assert.AreEqual(count, model.gameObjects.Count); }