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); }
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); }