public void RetrieveAdditionalInformationTest_withInvalidID(string value)
        {
            // Arrange
            AspectRatioItem item = new AspectRatioItem("_aa1", "AspectRatio");

            item.BaseTableName = value;

            // Act
            int count = item.RetrieveAdditionalInformation();

            // Assert
            Assert.AreEqual(0, count);
        }
        public void AspectRatioItemTest_withID()
        {
            // Arrange
            AspectRatioItem item = new AspectRatioItem("_xx1", "AspectRatio");

            // Act
            // Assert
            Assert.IsNotNull(item);
            Assert.IsNotNull(item.Reader);
            Assert.AreEqual("", item.BaseTableName);
            Assert.AreEqual("AspectRatio", item.TargetTableName);

            Assert.AreEqual("_xx1", item.ID);
            Assert.IsNull(item.AspectRatio);
            Assert.IsNull(item.Details);
            Assert.IsNull(item.Status);
            Assert.IsNull(item.LastUpdated);
        }
        public void RetrieveBasicInformationTest_withValidID_AdditionalInfo(string value)
        {
            // Arrange
            AspectRatioItem item = new AspectRatioItem("_xx1", "AspectRatio");

            item.BaseTableName = value;

            // Act
            int count = item.RetrieveBasicInformation(false);

            // Assert
            Assert.AreEqual(1, count);

            Assert.AreEqual("_xx1", item.ID);
            Assert.AreEqual("_xxx", item.AspectRatio.ID);
            Assert.AreEqual($"{value} AspectRatio Details X1", item.Details);
            Assert.AreEqual("_xxx", item.Status.ID);
            Assert.AreEqual($"{value} AspectRatio LastUpdated X1", item.LastUpdated);
        }
        public void RetrieveTest_withInvalidID_AdditionalInfo(string value)
        {
            // Arrange
            AspectRatioItem item = new AspectRatioItem("_aa1", "AspectRatio");

            item.BaseTableName = value;

            // Act
            int count = item.Retrieve(false);

            // Assert
            Assert.AreEqual(0, count);

            Assert.AreEqual("_aa1", item.ID);
            Assert.IsNull(item.AspectRatio);
            Assert.IsNull(item.Details);
            Assert.IsNull(item.Status);
            Assert.IsNull(item.LastUpdated);
        }