Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lookups of escalations by id. [HHQ-3213]
- Loading branch information
Ryan Morgan
committed
Jun 26, 2009
1 parent
f45409d
commit 87b5815
Showing
2 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.hyperic.hq.hqapi1.test; | ||
|
||
import org.hyperic.hq.hqapi1.EscalationApi; | ||
import org.hyperic.hq.hqapi1.types.StatusResponse; | ||
|
||
public class EscalationDelete_test extends EscalationTestBase { | ||
|
||
public EscalationDelete_test(String name) { | ||
super(name); | ||
} | ||
|
||
public void testDeleteNonExistantEscalation() throws Exception { | ||
|
||
EscalationApi api = getEscalationApi(); | ||
|
||
StatusResponse response = api.deleteEscalation(Integer.MAX_VALUE); | ||
hqAssertFailureObjectNotFound(response); | ||
} | ||
} |