*/
public void testLocatorCriteria() throws Exception
{
ProfileLocator locator = new BaseProfile();
locator.setMediaType("html");
locator.setLanguage("en");
locator.setName("default.psml");
Criteria criteria = new Criteria();
String mediaType = locator.getMediaType();
String language = locator.getLanguage();
String country = locator.getCountry();
String pageName = locator.getName();
String userName = "anon";
assertTrue(country == null);
if (userName != null && userName.length() > 0)