NoOpMethodAccessValidator implements MethodAccessValidator { @Override public boolean isMethodAccessAllowed(Object object, Method method) { return true; }  @Override boolean isMethodAccessAllowed(Object object, Method method);  }
@Test void whenIsMethodAccessAllowed_thenReturnTrue() { boolean methodAccessAllowed = this.underTest.isMethodAccessAllowed(null, null); assertThat(methodAccessAllowed).isTrue(); }