@Test
public void testLocalTestingWhenEnvConfigured() {

    PowerMockito.mockStatic(System.class);
    when(System.getenv(OAUTH2_ACCESS_TOKENS)).thenReturn("ANY_TEXT");
    when(System.getProperties()).thenReturn(new Properties());
    AccessTokensBeanProperties properties = new AccessTokensBeanProperties();
    AccessTokensBean bean = new AccessTokensBean(properties);
    assertThat(bean.isTestingConfigured()).isTrue();
}