private Locations runProcessStep(Locations fakedLocations, final boolean isInitial)
throws NoSessionException, NoPeerConnectionException {
// initialize the process and the one and only step to test
LoginProcessContext context = new LoginProcessContext();
context.provideLocations(fakedLocations);
ContactOtherClientsStep processStep = new ContactOtherClientsStep(context, network.get(0));
UseCaseTestUtil.executeProcess(processStep);
Assert.assertEquals(isInitial, context.getIsInitial());
return context.consumeLocations();