Runtime/UnityEventListener.cs
/// <summary>
/// Asserts that at least one invocation with the provided payload took place. 
/// </summary>
/// <param name="payload">Payload</param>
Asserts that at least one invocation with the provided payload took place.
Asserts that at least one invocation with the provided payload took place .
public void AssertInvocationWithPayload<T>(T payload)
        {
            var actualInvocations = GetInvocationsForPayload(payload);
            Assert.IsTrue(actualInvocations > 0, $"Event {_name} for {payload} should have been invoked at least once");
        }
public void AssertInvocationWithPayload < T > ( T payload ) { var actualInvocations = GetInvocationsForPayload ( payload ) ; Assert . IsTrue ( actualInvocations > 0 , $" Event  { _name }  for  { payload }  should have been invoked at least once " ) ; }
Asserts that at least one invocation with the provided payload took place.
Asserts that at least one invocation with the provided payload took place .
payload
T
None