@Test
public void testRegexHostRW() {

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