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

            item.BaseTableName = value;

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

            // Assert
            Assert.AreEqual(0, count);
        }
        public void CinematographicProcessItemTest_withID()
        {
            // Arrange
            CinematographicProcessItem item = new CinematographicProcessItem("_xx1", "CinematographicProcess");

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

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

            item.BaseTableName = value;

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

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

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

            item.BaseTableName = value;

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

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

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