// timeout in case test deadlocks
if (!latch.await(5, TimeUnit.SECONDS)) {
fail("Still expecting" + latch.getCount() + " calls");
}
logClientActivator.stop(context);
// VERIFY - check the behavior matches
// ===================================
verify(context, serviceRef, logService);