static void VerifyResults(EventSubscriber subscriber) { var result = subscriber.WaitForEvent(); Assert.IsTrue(result.Name == nameof(Loopback.NoParams) && result.Params.Length == 0); result = subscriber.WaitForEvent(); Assert.IsTrue(result.Name == nameof(Loopback.TwoParams) && result.Params.Length == 2 && (string)result.Params[0] == "A" && (int)result.Params[1] == 1); }