public void UpdateClassOfService_NullConnectionServer_Failure() { //GetClassesOfService var res = ClassOfService.UpdateClassOfService(null, "bogus", null); Assert.IsFalse(res.Success, "Static call to UpdateClassOfService did not fail with: null ConnectionServer"); }
public void StaticMethodFailures_UpdateClassOfService() { //GetClassesOfService var res = ClassOfService.UpdateClassOfService(_connectionServer, "bogus", null); Assert.IsFalse(res.Success, "Static call to UpdateClassOfService did not fail with: invalid objectId"); }
public void UpdateClassOfService_EmptyObjectId_Failure() { var res = ClassOfService.UpdateClassOfService(_mockServer, "", null); Assert.IsFalse(res.Success, "Static call to UpdateClassOfService did not fail with: empty objectId"); }