AbstractProcessor implements Processor { protected boolean tryProcess(int ordinal, @Nonnull Object item) throws Exception { throw new UnsupportedOperationException("Missing implementation in " + getClass()); }  @Override final void init(@Nonnull Outbox outbox, @Nonnull Context context); @Override final void restoreFromSnapshot(@Nonnull Inbox inbox); @Override @SuppressWarnings("checkstyle:magicnumber") void process(int ordinal, @Nonnull Inbox inbox); @Override boolean tryProcessWatermark(@Nonnull Watermark watermark);  }
@Test(expected = UnsupportedOperationException.class) public void when_tryProcess_then_unsupportedOperation() throws Exception { nothingOverriddenP.tryProcess(ORDINAL_0, MOCK_ITEM); }