@Test
public void testRegexHostRO() {

  NfsExports matcher = new NfsExports(CacheSize, ExpirationPeriod,
      "[a-z]+.b.com");
  Assert.assertEquals(AccessPrivilege.READ_ONLY,
      matcher.getAccessPrivilege(address1, hostname1));
  // address1 will hit the cache
  Assert.assertEquals(AccessPrivilege.READ_ONLY,
      matcher.getAccessPrivilege(address1, hostname2));
}