Tests an erroneous query. @throws Exception exception
()
| 195 | * @throws Exception exception |
| 196 | */ |
| 197 | @Test public final void unknown() throws Exception { |
| 198 | try(QueryProcessor qp = new QueryProcessor(_HTTP_SEND_REQUEST.args( |
| 199 | " <http:request method='get'/>", REST_URL + "unknown") + "[1]/@status/data()", ctx)) { |
| 200 | assertEquals("404", qp.value().serialize().toString()); |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * Parse normal request. |
nothing calls this directly
no test coverage detected