コード例 #1
0
        public void CallingProtectedMethodsOnAnInstance()
        {
            StateSecret secret = new StateSecret();

            //Assert.AreEqual (FILL_ME_IN, secret.InformationLeak ());
            Assert.AreEqual("Això és secret", secret.InformationLeak());
        }
コード例 #2
0
        public void CallingProtectedMethodsOnAnInstance()
        {
            StateSecret secret = new StateSecret();

            Assert.Equal("This is secret", secret.InformationLeak());
        }