@Test public void dontThrowIfAccessNoProblem() { accessResultExceptionHelper.throwExceptionIfDenied(AccessResult.create(AccessResultCode.NO_PROBLEM, "")); assertTrue(true); }
@Override public void throwExceptionIfDenied(AccessResult accessResult) { if (accessResult.isDenied()) { throwException(accessResult); } }
AccessResultExceptionHelperImpl implements AccessResultExceptionHelper { @Override public void throwExceptionIfDenied(AccessResult accessResult) { if (accessResult.isDenied()) { throwException(accessResult); } } }
AccessResultExceptionHelperImpl implements AccessResultExceptionHelper { @Override public void throwExceptionIfDenied(AccessResult accessResult) { if (accessResult.isDenied()) { throwException(accessResult); } }  }
AccessResultExceptionHelperImpl implements AccessResultExceptionHelper { @Override public void throwExceptionIfDenied(AccessResult accessResult) { if (accessResult.isDenied()) { throwException(accessResult); } }  @Override void throwException(AccessResult accessResult); @Override void throwExceptionIfDenied(AccessResult accessResult); }
AccessResultExceptionHelperImpl implements AccessResultExceptionHelper { @Override public void throwExceptionIfDenied(AccessResult accessResult) { if (accessResult.isDenied()) { throwException(accessResult); } }  @Override void throwException(AccessResult accessResult); @Override void throwExceptionIfDenied(AccessResult accessResult);  }