public void testNonPersistableDomainClass() {
    domainClass = lookupAny(NonSearchableCustomer.class);

    assertFalse(domainClass.isSearchable());
  }
  public void testSearchableDomainClass() {
    domainClass = lookupAny(SearchableCustomer.class);

    assertTrue(domainClass.isSearchable());
  }