Region implements ImmutableBean, Serializable { public static Region of(final String name) { return new Region(name, Collections.<Country>emptySet(), Collections.<Currency>emptySet()); } private  Region(
      String name,
      Set<Country> countries,
      Set<Currency> currencies); static Region of(final String name); static Region of(final String name, final Country country, final Currency currency); static Region of(final String name, final Set<Country> countries, final Set<Currency> currencies); static Region.Meta meta(); @Override Region.Meta metaBean(); @Override Property<R> property(String propertyName); @Override Set<String> propertyNames(); String getName(); Set<Country> getCountries(); Set<Currency> getCurrencies(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }
@Test(expectedExceptions = IllegalArgumentException.class) public void testNullName1() { Region.of(null, COUNTRIES, CURRENCIES); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testNullName2() { Region.of(null, Country.CA, Currency.CAD); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testNullCurrencies1() { Region.of(NAME, COUNTRIES, null); }