/** * {@inheritDoc} */ public void unregister(long platformIdent) throws BusinessException { registrationService.unregisterPlatformIdent(platformIdent); }
@Test public void unregister() throws Exception { long platformId = 10L; manager.unregister(platformId); verify(registrationService).unregisterPlatformIdent(platformId); } }