102103104105106107108109110
site.setName("Some site"); site.setHostHint("foo"); site.save(user); // Should be recognized as matching a virtual host assertEquals(true, hostingService.matchesVirtualHost("fizzbuzz.sites.example.org")); } }