### Question:
StyleHandler extends Handler { @Override public boolean canHandle(Request request, NanoServer server) { return match(request, STYLE_URI_RE); }  @Override boolean canHandle(Request request, NanoServer server); @Override Response handle(Request request, NanoServer server);  }### Answer:
@Test public void testCanHandle() { handler.canHandle(new Request("/styles", "GET"), mock.server); handler.canHandle(new Request("/styles/foo", "GET"), mock.server); }