public void RecordWithDateWhenStoreClose() { PurchaseData purchaseDataToSend = new PurchaseData(); purchaseDataToSend.CreateRecordWithDateWhenClose(); RabbitMQManager.Send(purchaseDataToSend); PurchaseDataRecieve relevantPurchase = DalAccess.PullLastPurchasesData(purchaseDataToSend.StoreId); relevantPurchase.Should().ExistsCorrectlyInDbWithDateWhenClose(purchaseDataToSend); }