public void ShouldAllowOnlyASingleInstanceOfMazeFactory() { mazeFactory = MazeFactorySingleton.Instance("bombed"); Assert.AreEqual("Singleton.MazeFactorySingleton", MazeFactorySingleton.GetInstanceType()); }
public void Setup() { SetOrReset(); mazeFactory = MazeFactorySingleton.Instance(""); maze = mazeGame.CreateMaze(mazeFactory); }
public void Setup() { SetOrReset(); mazeFactory = MazeFactorySingleton.Instance(""); }