question: public void test_Of_EEEEE ( ) { EnumSet < EnumWithInnerClass > enumSet = EnumSet . of ( EnumWithInnerClass . a , EnumWithInnerClass . b , EnumWithInnerClass . c , EnumWithInnerClass . d , EnumWithInnerClass . e ) ; assertEquals ( "Size of enumSet should be 5:" , 5 , enumSet . size ( ) ) ; assertTrue ( "Should return true" , enumSet . contains ( EnumWithInnerClass . a ) ) ; assertTrue ( "Should return true" , enumSet . contains ( EnumWithInnerClass . e ) ) ; try { EnumSet . of ( ( EnumWithInnerClass ) null , null , null , null , null ) ; fail ( "Should throw NullPointerException" ) ; } catch ( NullPointerException npe ) { } EnumSet < HugeEnumWithInnerClass > hugeEnumSet = EnumSet . of ( HugeEnumWithInnerClass . a , HugeEnumWithInnerClass . b , HugeEnumWithInnerClass . c , HugeEnumWithInnerClass . d , HugeEnumWithInnerClass . e ) ; assertEquals ( 5 , hugeEnumSet . size ( ) ) ; assertTrue ( hugeEnumSet . contains ( HugeEnumWithInnerClass . a ) ) ; assertTrue ( hugeEnumSet . contains ( HugeEnumWithInnerClass . e ) ) ; try { EnumSet . of ( ( HugeEnumWithInnerClass ) null , null , null , null , null ) ; fail ( "Should throw NullPointerException" ) ; } catch ( NullPointerException npe ) { } }
target:  java.util.EnumSet#of(E, E, E, E, E)