public static void event_with_string_payload() { test.ITesting obj = new test.Testing(); string received_string = null; obj.EvtWithStringEvt += (object sender, EvtWithStringEvt_Args e) => { received_string = e.arg; }; obj.EmitEventWithString("Some args"); Test.AssertEquals("Some args", received_string); }