public class AssertUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assertBadRequest(javax.ws.rs.core.Response response) |
static void |
assertCreated(javax.ws.rs.core.Response response) |
static void |
assertGone(javax.ws.rs.core.Response response) |
static void |
assertInternalServerError(javax.ws.rs.core.Response response) |
static void |
assertNotFound(javax.ws.rs.core.Response response) |
static void |
assertSucceededResponse(javax.ws.rs.core.Response response) |
static void |
assertSucceededResult(javax.ws.rs.core.Response response)
Checks that Response status is SUCCEEDED
|
public static void assertSucceededResult(javax.ws.rs.core.Response response)
response
- Responsepublic static void assertSucceededResponse(javax.ws.rs.core.Response response)
public static void assertCreated(javax.ws.rs.core.Response response)
public static void assertGone(javax.ws.rs.core.Response response)
public static void assertNotFound(javax.ws.rs.core.Response response)
public static void assertBadRequest(javax.ws.rs.core.Response response)
public static void assertInternalServerError(javax.ws.rs.core.Response response)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.