()
| 293 | } |
| 294 | |
| 295 | @Test |
| 296 | public void explodeAPIPathRootVersion() { |
| 297 | final HttpQuery query = NettyMocks.getQuery(tsdb, |
| 298 | "/api/v1"); |
| 299 | final String[] path = query.explodeAPIPath(); |
| 300 | assertNotNull(path); |
| 301 | assertTrue(path[0].isEmpty()); |
| 302 | } |
| 303 | |
| 304 | @Test (expected = IllegalArgumentException.class) |
| 305 | public void explodeAPIPathNotAPI() { |
nothing calls this directly
no test coverage detected