private void AssertOffer(TradeOffer actual, TradeOffer expectedOffer) { actual.Should().NotBeNull(); actual.Id.Should().BeGreaterThan(0); actual.TradePointId.Should().Be(expectedOffer.TradePointId); actual.CommodityId.Should().Be(expectedOffer.CommodityId); actual.PricePerUnit.Should().Be(expectedOffer.PricePerUnit); actual.Trader.Should().BeEquivalentTo(expectedOffer.Trader); actual.OfferType.Should().Be(expectedOffer.OfferType); }