Examples of provideLocations()


Examples of org.hive2hive.core.processes.implementations.context.LoginProcessContext.provideLocations()

  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();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.