### Question:
ReaperImpl implements ReaperQuery { @Override public Collection<String> nextPage() throws CoreTokenException { Reject.ifTrue(connection == null, "Connection must be assigned before use"); if (results == null) { results = query.executeRawResults(connection, String.class); } if (isQueryComplete()) { return null; } return results.next(); } @Inject  ReaperImpl(@DataLayer(ConnectionType.CTS_REAPER) QueryFactory queryFactory, CoreTokenConfig config); void setConnection(C connection); @Override Collection<String> nextPage(); @Override void close();  }### Answer:
@Test (expectedExceptions = IllegalArgumentException.class) public void shouldNotStartUnlessConnectionIsProvided() throws CoreTokenException { impl.nextPage(); }