ExpectedEvent.CommonChecks C# (CSharp) Method

CommonChecks() protected method

protected CommonChecks ( EventHistory, actualEvent ) : bool
actualEvent EventHistory,
return bool
    protected virtual bool CommonChecks(EventHistory actualEvent)
    {
        if(actualEvent == null) return true;

        // Make sure we're looking at the right event type.
        if(name != actualEvent.name) return true;

        return false;
    }