### Question:
TApplication { protected abstract int work(String[] args) throws E;    }### Answer:
@Test public void testWork() { try { instance.work(null); } catch (NullPointerException expected) { } assertEquals(0, instance.work(new String[0])); }