@Test
public void testSetScopesIfSpecified() throws Exception {

  String[] scopes = { "foo", "bar" };
  annotationConfig.setScopesIfSpecified(scopes);
  Mockito.verify(config).setScopeExpression(toScopeExpression(scopes));
}