public static void event_with_uint_payload() { test.ITesting obj = new test.Testing(); uint received_uint = 0; obj.EvtWithUintEvt += (object sender, EvtWithUintEvt_Args e) => { received_uint = e.arg; }; obj.EmitEventWithUint(0xbeef); Test.AssertEquals <uint>(0xbeef, received_uint); }