Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public void CreateServiceObject() { service1 = new Service { ServiceName = "" + Guid.NewGuid(), Disabled = false }; using (var _db = new DatabaseContext()) { //Checking if service was created Assert.AreEqual(1, _os.CreateService(_db, service1)); service2 = _db.Services.Find(service1.Id); //Ensuring data integrity of service Assert.AreEqual(service1.ServiceName, service2.ServiceName); } }