public async Task Apply_IsPrimeEvent(int number) { // Arrange var aggregate = _cluster.GetService <IEventAggregate <IsPrimeEvent> >(); // Act var result = await aggregate.Apply(new IsPrimeEvent() { Number = number }); // Assert Assert.True(result); }