예제 #1
0
        public async Task SendEventShouldCallCorrectService()
        {
            // ARRANGE
            await InitializeFakeDaemon().ConfigureAwait(false);

            // ACT
            await DefaultDaemonApp.SendEvent("myevent");

            await RunFakeDaemonUntilTimeout().ConfigureAwait(false);

            // ASSERT
            VerifyEventSent("myevent");
        }