コード例 #1
0
        public void TestDefaultSuccesNoErr()
        {
            SettableActionProvider sap = new SettableActionProvider(success.Object, null);

            sap.Success(null, null);
        }
コード例 #2
0
        public void TestDefaultFailNoErr()
        {
            SettableActionProvider sap = new SettableActionProvider(null, fail.Object);

            sap.Fail(null);
        }
コード例 #3
0
        public void TestGetFailWithNullSuccess()
        {
            SettableActionProvider sap = new SettableActionProvider(null, fail.Object);

            Assert.AreEqual(fail.Object, sap.Fail);
        }
コード例 #4
0
        public void TestGetSuccessWithNullFail()
        {
            SettableActionProvider sap = new SettableActionProvider(success.Object, null);

            Assert.AreEqual(success.Object, sap.Success);
        }
コード例 #5
0
        public void TestGetFail()
        {
            SettableActionProvider sap = new SettableActionProvider(success.Object, fail.Object);

            Assert.AreEqual(fail.Object, sap.Fail);
        }