public void GetItemIdReturnsGivenEntityRefundId() { const int expectedItemId = 29; var refundOrderItemEntity = new RefundOrderItemEntity(0, expectedItemId); long itemId = _refundOrderItemTraits.GetItemId(refundOrderItemEntity); Assert.AreEqual(expectedItemId, itemId, "GetItemId returned incorrect ID."); }
public void GetItemIdReturnsGivenEntityTestId() { const int expectedItemId = 29; var testOrderItemEntity = new EventTestOrderItemEntity(0, expectedItemId); long itemId = _testOrderItemTraits.GetItemId(testOrderItemEntity); Assert.AreEqual(expectedItemId, itemId, "GetItemId returned incorrect ID."); }
public void GetItemIdReturnsGivenEntityGiftCertificateId() { const int expectedItemId = 29; var giftCertificateOrderItemEntity = new GiftCertificateOrderItemEntity(0, expectedItemId); long itemId = _giftCertificateOrderItemTraits.GetItemId(giftCertificateOrderItemEntity); Assert.AreEqual(expectedItemId, itemId, "GetItemId returned incorrect ID."); }