@Test public void testNullClass() { expectedException.expect(NullPointerException.class); new StringEnumType<Letter>(null, Letter.CONSTRUCTOR); }
@Test public void testNullConstructor() { expectedException.expect(NullPointerException.class); new StringEnumType<Letter>(Letter.class, null); }