@Test
public void testSetScopesIfSpecified_unspecified() throws Exception {

  testDefaults();
  annotationConfig.setScopesIfSpecified(null);
  testDefaults();
  String[] unspecified = {Api.UNSPECIFIED_STRING_FOR_LIST};
  annotationConfig.setScopesIfSpecified(unspecified);
  testDefaults();
  String[] scopes = {"bleh", "more bleh"};
  annotationConfig.setScopesIfSpecified(scopes);
  annotationConfig.setScopesIfSpecified(unspecified);
  assertEquals(toScopeExpression(scopes), config.getScopeExpression());
}