Exemplo n.º 1
0
        public void TestPropioChange()
        {
            var tmp = MachineUn.GetProprio();

            MachineUn.SetProprio(Plongeur.GetInstance());
            Assert.AreNotEqual(tmp, MachineUn.GetProprio(), "The proprio didn't changed");
        }
Exemplo n.º 2
0
 public void TestSingletonPlongeur()
 {
     Assert.AreEqual(Plongeur.GetInstance("test", "test"), Plongeur.GetInstance(), "Plongeur is not a singleton");
 }