コード例 #1
0
        public void TestCleanup()
        {
            _sendNotifications = null;

            _updatePackageMock = null;
            _notificationReceiverMock = null;
        }
コード例 #2
0
        public void TestInitialize()
        {
            TestCleanup();

            _updatePackageMock = new UpdatePackageMock();
            _updatePackageMock.PackageName = "CheckUrlHttpStatusIs200Test";

            _notificationReceiverMock = new NotificationReceiverMock();

            _nowGetterMock = new NowGetterMock();
            _nowGetterMock.Now = new System.DateTime(2015, 5, 15, 11, 0, 0);

            _blackboardMock = new Mock<IBlackboard>();
        }