Esempio n. 1
0
        public void Test_For_Valid_AddNewBus()
        {
            //Arrange
            BusInformation bus = new BusInformation()
            {
                BusId    = "b1",
                BusName  = "SemiAC",
                BusType  = "AC",
                Capacity = 30
            };
            //Action
            var IsAdded = _services.AddNewBus(bus);

            //Assert
            Assert.True(IsAdded);
        }