public void Models_FactoryInventoryModel_Update_With_Valid_Data_Should_Pass()
        {
            // Arrange
            var expectUri         = "uri";
            var expectDescription = "Description";
            var expectTokens      = 1000;
            var expectQuantities  = 2000;
            var expectCategory    = FactoryInventoryCategoryEnum.Topper;

            var data = new FactoryInventoryModel();

            var test = new FactoryInventoryModel
            {
                Uri         = expectUri,
                Description = expectDescription,
                Tokens      = expectTokens,
                Quantities  = expectQuantities,
                Category    = expectCategory
            };

            // Act
            data.Update(test);
            var result = data;

            // Assert
            Assert.AreEqual(expectUri, result.Uri, "Uri " + TestContext.TestName);
            Assert.AreEqual(expectDescription, result.Description, "Description " + TestContext.TestName);
            Assert.AreEqual(expectTokens, result.Tokens, "Tokens " + TestContext.TestName);
            Assert.AreEqual(expectQuantities, result.Quantities, "Quantities " + TestContext.TestName);
            Assert.AreEqual(expectCategory, result.Category, "Category " + TestContext.TestName);
        }
        public void Models_FactoryInventoryModel_Update_With_Invalid_Data_Null_Should_Fail()
        {
            // Arrange

            var expect = "test";

            var data = new FactoryInventoryModel
            {
                Id = "test"
            };

            // Act
            data.Update(null);
            var result = data.Id;

            // Assert
            Assert.AreEqual(expect, result, TestContext.TestName);
        }