Ejemplo n.º 1
0
        public void ctr_should_delete_deviceType()
        {
            var s   = "delete-me";
            var obj = Bl.CreateDeviceType();

            obj.Slug = s;
            var getObj = Bl.GetDeviceType(s);

            Assert.NotNull(getObj);

            ctr.DeleteDeviceType("delete-me");
            var getDel = Bl.GetDeviceType("delete-me");

            Assert.Null(getDel);
        }