### Question:
AbstractPollableSource extends BasicSourceSemantics implements PollableSource { public Status process() throws EventDeliveryException { Exception exception = getStartException(); if (exception != null) { throw new FlumeException("Source had error configuring or starting", exception); } if(!isStarted()) { throw new EventDeliveryException("Source is not started"); } return doProcess(); } AbstractPollableSource(); Status process();  }### Answer:
@Test(expected = EventDeliveryException.class) public void testNotStarted() throws Exception { source.process(); }