Beispiel #1
0
        public static void zCanDeleteFeature()
        {
            VehicleRepositoryADO repo = new VehicleRepositoryADO();
            var before = repo.GetAllFeatures().features.Count();

            repo.RemoveFeatured(1);
            var after = repo.GetAllFeatures().features.Count();

            Assert.AreEqual(before, after + 1);
        }
Beispiel #2
0
        public static void zCanGetFeatures()
        {
            VehicleRepositoryADO repo = new VehicleRepositoryADO();
            var result = repo.GetAllFeatures();

            Assert.GreaterOrEqual(1, result.features.Count);
        }