Examples of AgentManagerService


Examples of org.ngrinder.agent.service.AgentManagerService

  @Autowired
  private Config config;

  @PostConstruct
  public void init() {
    AgentManagerService agentManagerService = mock(AgentManagerService.class);
    Map<String, MutableInt> countMap = new HashMap<String, MutableInt>(1);
    countMap.put(config.getRegion(), new MutableInt(3));
    when(agentManagerService.getAvailableAgentCountMap(userContext.getCurrentUser())).thenReturn(countMap);
    ReflectionTestUtils.setField(this, "agentManagerService", agentManagerService);
  }
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.