### Question:
ThrowingNoResolutionHandler implements NoResolutionHandler { @Override public Object handleNoResolution(Object request, List<Object> recordedRequests) { throw new UnsupportedOperationException(errorMessage(request, recordedRequests)); }  @Override Object handleNoResolution(Object request, List<Object> recordedRequests);  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void throws_unsupported_operation_exception_when_handling_request() { this.handler.handleNoResolution(this.request, this.recordedRequests); }