Sector implements Bean, Serializable { public static Sector of(final String name) { return new Sector(name, new FlexiBean()); } Sector(); private  Sector(final String name, final FlexiBean classifications); static Sector of(final String name); static Sector of(final String name, final FlexiBean classifications); static Sector.Meta meta(); @Override Sector.Meta metaBean(); @Override Property<R> property(String propertyName); @Override Set<String> propertyNames(); String getName(); void setName(String name); Property<String> name(); FlexiBean getClassifications(); void setClassifications(FlexiBean classifications); Property<FlexiBean> classifications(); @Override Sector clone(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }
@Test(expectedExceptions = IllegalArgumentException.class) public void testNullName1() { Sector.of(null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testNullName2() { Sector.of(null, new FlexiBean()); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testNullClassifications() { Sector.of("SECTOR", null); }