コード例 #1
0
        public async Task AddsStatusChangeRecord()
        {
            var currentRecordCount = financialGuarantee.StatusChanges.Count();

            await
            handler.HandleAsync(receivedEvent);

            Assert.Equal(currentRecordCount + 1, financialGuarantee.StatusChanges.Count());
        }