Beispiel #1
0
        public void TestDefaultSuccesNoErr()
        {
            SettableActionProvider sap = new SettableActionProvider(success.Object, null);

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

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

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

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

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