// Populate a MapSelectorResolver with an aliased selector, and ensure it resolves correctly.
public void testMapSelectorResolver()
{
Map<String,String> definedSelectors = new HashMap<String, String>();
definedSelectors.put( "$suggestedAlbums", "favoriteArtists(albums(title,songs(id,title)))" );
MapSelectorResolver mapSelectorResolver = new MapSelectorResolver();
mapSelectorResolver.setDefinedSelectors( definedSelectors );
setAliasSelectorResolver( mapSelectorResolver );
doTestResolver();
}