@Test public void shutdown() throws SwiftServiceException { SwiftDeleteService deleteService = new SwiftDeleteService(); deleteService.start(); assertTrue(deleteService.shutdown()); assertNull(Whitebox.getInternalState(deleteService, SegmentService.class)); }
@Override public boolean shutdown() throws SwiftServiceException { super.shutdown(); return true; }
SwiftDeleteService extends AbstractSwiftService implements DeleteService { @Override public boolean shutdown() throws SwiftServiceException { super.shutdown(); return true; } }
SwiftDeleteService extends AbstractSwiftService implements DeleteService { @Override public boolean shutdown() throws SwiftServiceException { super.shutdown(); return true; }  }
SwiftDeleteService extends AbstractSwiftService implements DeleteService { @Override public boolean shutdown() throws SwiftServiceException { super.shutdown(); return true; }  @Override boolean start(); @Override boolean shutdown(); @Override boolean delete(final SourceKey tableKey, final Where where); @Override ServiceType getServiceType(); }
SwiftDeleteService extends AbstractSwiftService implements DeleteService { @Override public boolean shutdown() throws SwiftServiceException { super.shutdown(); return true; }  @Override boolean start(); @Override boolean shutdown(); @Override boolean delete(final SourceKey tableKey, final Where where); @Override ServiceType getServiceType();  }