public void testDeleteNonExistantSchoolClass() { Assert.Null(serv.GetByDetails(23, "ע")); // Arrange int count = serv.All().Count(); entity.setId(Guid.NewGuid()); Assert.Null(serv.GetById(entity.Id)); // Act MichtavaResult res = serv.Delete(entity); // Assert Assert.True(res is MichtavaFailure); }