### Question:
OAuthConfig { public long getTokenExpiryBuffer() { return this.tokenExpiryBuffer * 1000; }  boolean isValid(); String getScopes(); long getTokenExpiryBuffer();  }### Answer:
@Test public void testGetTokenExpiryBuffer_shouldReturnInMilliseconds() { OAuthConfig config = createDefaultConfig(); assertThat(config.getTokenExpiryBuffer()).isEqualTo(1000); }