private void AssertEvent(ProspectedAsteroidEvent @event) { Assert.NotNull(@event); Assert.Equal(DateTime.Parse("2019-09-11T13:04:24Z"), @event.Timestamp); Assert.Equal(EventName, @event.Event); // TODO: Add more tests }
internal ProspectedAsteroidEvent InvokeEvent(ProspectedAsteroidEvent arg) { if (_api.ValidateEvent(arg)) { ProspectedAsteroid?.Invoke(_api, arg); } return(arg); }
internal void InvokeProspectedAsteroidEvent(ProspectedAsteroidEvent arg) { ProspectedAsteroidEvent?.Invoke(this, arg); }
internal void InvokeProspectedAsteroidEvent(ProspectedAsteroidEvent arg) => ProspectedAsteroidEvent?.Invoke(null, arg);