@Test
public void testSetAuthLevelIfSpecified() throws Exception {

  for (AuthLevel authLevel : AuthLevel.values()) {
    if (authLevel == AuthLevel.UNSPECIFIED) { // next test.
      continue;
    }
    annotationConfig.setAuthLevelIfSpecified(authLevel);
    Mockito.verify(config).setAuthLevel(authLevel);
  }
}