### Question:
DeleteOnQueryResultHandler implements ResultHandler<Collection<PartialToken>, CoreTokenException> { @Override public Collection<PartialToken> getResults() { throw new UnsupportedOperationException("getResults() not implemented"); } @Inject  DeleteOnQueryResultHandler(TaskDispatcher taskDispatcher, ResultHandlerFactory resultHandlerFactory,
            @Named(CoreTokenConstants.CTS_DEBUG) Debug debug); @Override Collection<PartialToken> getResults(); @Override void processResults(Collection<PartialToken> results); @Override void processError(Exception exception);  }### Answer:
@Test(expectedExceptions = UnsupportedOperationException.class) public void shouldThrowUnsupportedOperationExceptionOnGetResults() { handler.getResults(); }