public void Cunstructor_ShouldReturnTheRightDiamondID()
        {
            //Arrange
            var price = Tests.NUMBER_THAT_IS_ASSERTED_WITH_BUT_HAS_NO_MEANING;
            //Act
            var cartItem = new CustomJewelCartItem(Tests.FAKE_DIAMOND_REPOSITORY_FIRST_ITEM_ID,
                                                   Tests.FAKE_JEWELRY_REPOSITORY_FIRST_ITEM_ID,
                                                   Tests.STRING_THAT_HAS_NO_MEANING_IN_THIS_CONTEXT, JewelMediaType.WhiteGold, price);

            //Assert

            cartItem.DiamondID.Should().Be(Tests.FAKE_DIAMOND_REPOSITORY_FIRST_ITEM_ID);
        }
        public void Cunstructor_ShouldReturnTheRightMediaTypeWhenYellowGold()
        {
            //Arrange
            var price = Tests.NUMBER_THAT_IS_ASSERTED_WITH_BUT_HAS_NO_MEANING;

            //Act
            var cartItem = new CustomJewelCartItem(Tests.FAKE_DIAMOND_REPOSITORY_FIRST_ITEM_ID,
                                                   Tests.FAKE_JEWELRY_REPOSITORY_FIRST_ITEM_ID,
                                                   Tests.STRING_THAT_IS_ASSERTED_BUT_HAS_NO_MEANING,
                                                   JewelMediaType.YellowGold, price);
            //Assert

            cartItem.MediaType.Should().Be(JewelMediaType.YellowGold);
        }
        public void Cunstructor_ShouldReturnTheRightIDWhichIsProducedByPrimeMultiplicationOfTheDiamondAndSettingIDs()
        {
            //Arrange
            var price = Tests.NUMBER_THAT_IS_ASSERTED_WITH_BUT_HAS_NO_MEANING;
            //Act
            var cartItem = new CustomJewelCartItem(Tests.FAKE_DIAMOND_REPOSITORY_FIRST_ITEM_ID,
                                                   Tests.FAKE_JEWELRY_REPOSITORY_FIRST_ITEM_ID,
                                                   Tests.STRING_THAT_HAS_NO_MEANING_IN_THIS_CONTEXT, JewelMediaType.WhiteGold, price);

            //Assert

            cartItem.ID.Should().Be(Tests.FAKE_DIAMOND_REPOSITORY_FIRST_ITEM_ID*3 +
                                    Tests.FAKE_JEWELRY_REPOSITORY_FIRST_ITEM_ID*7);
        }
 public static CustomJewelCartItem FakeCustomJewelCartItem(int diamondid, int settingid, string size, JewelMediaType mediaType, decimal price)
 {
     var cartItem = new CustomJewelCartItem(diamondid, settingid, size, mediaType, price);
     return cartItem;
 }
        public void Cunstructor_ShouldUpdateTheSize()
        {
            //Arrange
            var price = Tests.NUMBER_THAT_IS_ASSERTED_WITH_BUT_HAS_NO_MEANING;
            var cartItem = new CustomJewelCartItem(Tests.FAKE_DIAMOND_REPOSITORY_FIRST_ITEM_ID,
                                                   Tests.FAKE_JEWELRY_REPOSITORY_FIRST_ITEM_ID,
                                                   Tests.STRING_THAT_IS_ASSERTED_BUT_HAS_NO_MEANING, JewelMediaType.WhiteGold, price);

            //Act
                        cartItem.SetSize("8");
            //Assert

            var size = cartItem.GetSize();

            size.Should().Be("8");
        }