public void ExecuteGenericWithNotNull() { var executed = false; var eventMock = new ActionTMock <string>(); eventMock.TestAction += arg => executed = arg == "Test"; eventMock.InvokeAction("Test"); Assert.IsTrue(executed); }
public void ExecuteGenericWithNull() { var eventMock = new ActionTMock <string>(); eventMock.InvokeAction("Test"); }