public void AddProductionActualReturnsFalse()
        {
            List <AnnualDetails> testData = null;
            var mock = new Mock <IPlantSetupDal>();

            mock.Setup(x => x.AddProductionActual(testData, "2017", "Production")).Returns(true);
            var plantManager = new PlantSetUpManager(mock.Object);
            var result       = plantManager.AddProductionActual(testData, "2017", "Production");

            Assert.IsNotNull(result);
            Assert.IsFalse(result);
        }
        public void AddProductionActualReturnsTrue()
        {
            var testData = TestData.TestAnnualData();
            var mock     = new Mock <IPlantSetupDal>();

            mock.Setup(x => x.AddProductionActual(testData, "2017", "Production")).Returns(true);
            var plantManager = new PlantSetUpManager(mock.Object);
            var result       = plantManager.AddProductionActual(testData, "2017", "Production");

            Assert.IsNotNull(result);
            Assert.IsTrue(result);
        }