예제 #1
0
        public void ComponentEditorPage_IsPageMessage_Invoke_ReturnsExpected()
        {
            var page    = new SubComponentEditorPage();
            var message = new Message();

            Assert.True(page.IsPageMessage(ref message));
            Assert.Equal(1, page.PreProcessMessageCallCount);
        }
예제 #2
0
        public void ComponentEditorPage_IsPageMessage_Invoke_ReturnsExpected()
        {
            using var control = new SubComponentEditorPage();
            var message = new Message();

            Assert.True(control.IsPageMessage(ref message));
            Assert.Equal(1, control.PreProcessMessageCallCount);
        }