コード例 #1
0
        public UserInterfaceThreadSynchronizerTest()
        {
            this.synchronizationContext = new TestSynchronizationContext();
            this.logExtension = A.Fake<IUserInterfaceThreadSynchronizerLogExtension>();

            this.testee = new UserInterfaceThreadSynchronizer(this.synchronizationContext, this.logExtension);
        }
コード例 #2
0
        public UserInterfaceThreadSynchronizerTest()
        {
            this.synchronizationContext = new TestSynchronizationContext();
            this.logExtensionMock = new Mock<IUserInterfaceThreadSynchronizerLogExtension>();

            this.testee = new UserInterfaceThreadSynchronizer(this.synchronizationContext, this.logExtensionMock.Object);
        }