@Test
public void testSetScopesIfSpecified() throws Exception {

  String[] scopes = { "foo", "bar" };
  annotationConfig.setScopesIfSpecified(scopes);
  assertEquals(toScopeExpression(scopes), config.getScopeExpression());
}