InternalSecurityProvider implements SecurityProvider, WhiteboardAware { @Override public void setWhiteboard(@NotNull Whiteboard whiteboard) { this.whiteboard = whiteboard; }  @NotNull @Override ConfigurationParameters getParameters(@Nullable String name); @NotNull @Override Iterable<? extends SecurityConfiguration> getConfigurations(); @NotNull @Override @SuppressWarnings("unchecked") T getConfiguration(@NotNull Class<T> configurationClass); @Override void setWhiteboard(@NotNull Whiteboard whiteboard); @Override Whiteboard getWhiteboard(); void setAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration); void setAuthorizationConfiguration(AuthorizationConfiguration authorizationConfiguration); void setUserConfiguration(UserConfiguration userConfiguration); void setPrivilegeConfiguration(PrivilegeConfiguration privilegeConfiguration); void setPrincipalConfiguration(PrincipalConfiguration principalConfiguration); void setTokenConfiguration(TokenConfiguration tokenConfiguration);  }
@Test public void testSetWhiteboard() { Whiteboard wb = new DefaultWhiteboard(); securityProvider.setWhiteboard(wb); assertSame(wb, securityProvider.getWhiteboard()); }