Exemple #1
0
        public async Task WebApiTestForUnderConstructionFalse()
        {
            // Arrange
            var mock          = new Mock <IConfiguration>();
            var newController = new ValuesController(mock.Object);

            // This test will have issues with changing data but for the current demostration purposes it works.

            //Act
            IEnumerable <LaunchpadModel> returnData = await newController.GetAllLaunchPadByStatus("under construction");

            //Assert
            Assert.NotEqual("BlahBlahBlah", returnData.First().Id);
        }