public void ContentEditor_GetTextFromHTML_Method_2_Parameters_2_Calls_Test() { // Arrange var sender = Fixture.Create <object>(); var e = Fixture.Create <EventArgs>(); var contentEditor = new ContentEditor(); // Act Action getTextFromHtml = () => contentEditor.GetTextFromHTML(sender, e); // Assert Should.Throw <Exception>(actual: () => getTextFromHtml.Invoke()); }