public void test_search_name() {
RegionSearchRequest request = new RegionSearchRequest();
request.setName("United Kingdom");
assertEquals(1, _regionMaster.search(request).getDocuments().size());
RegionDocument doc = _regionMaster.search(request).getFirstDocument();
ManageableRegion ukRegion = doc.getRegion();
assertNotNull(ukRegion);
assertEquals("United Kingdom", ukRegion.getName());
assertEquals(RegionClassification.INDEPENDENT_STATE, ukRegion.getClassification());
assertEquals(Country.GB, ukRegion.getCountry());
assertEquals(Currency.GBP, ukRegion.getCurrency());
assertEquals(3, ukRegion.getParentRegionIds().size());
RegionDocument gotDoc = _regionMaster.get(doc.getUniqueId());
assertEquals(doc, gotDoc);
}