예제 #1
0
        public void testSomeOne()
        {
            var someOne = new Personn();

            someOne.Prenom = "Noob Saibot";
            Assert.AreEqual("Noob Saibot", someOne.Prenom);
        }
예제 #2
0
        public void IsNameEmpty()
        {
            var someOne = new Personn();

            Assert.ThrowsException <ArgumentException>(() => someOne.Prenom = "1test");
        }