String eMail = "someone@somewhere.com";
C2EntryService sentryService = factory.signalEntryService(password, systemId, eMail);
lock.lock(); //prevent transmit
ImplResponse allSys = (ImplResponse)sentryService.sendAllSystemsRequest();
ImplResponse allSig = (ImplResponse)sentryService.sendAllSignalsRequest();
//check that everything got saved
Iterator<Request> pending = journal.pending();
assertTrue(pending.hasNext());
assertEquals(allSys.secureRequest(),pending.next());
assertTrue(pending.hasNext());
assertEquals(allSig.secureRequest().secureClone(), pending.next());
assertFalse(pending.hasNext());
//Now dump and rebuild factory from scratch so its forced to build response list.
//sentryService.awaitPending();//.shutdown();//must stop old daemon before starting new one