### Question:
EnvironmentServiceImpl implements EnvironmentService { @ProjectAdmin @Override public void stopExploratory(@User UserInfo userInfo, String user, @Project String project, String exploratoryName) { exploratoryService.stop(new UserInfo(user, userInfo.getAccessToken()), project, exploratoryName); } @Inject  EnvironmentServiceImpl(EnvDAO envDAO, UserSettingsDAO settingsDAO, ExploratoryDAO exploratoryDAO,
								  ExploratoryService exploratoryService, ComputationalService computationalService,
								  SecurityService securityService, ProjectService projectService); @Override List<UserDTO> getUsers(); @Override List<UserResourceInfo> getAllEnv(UserInfo user); @Override void stopAll(); @Override void stopEnvironmentWithServiceAccount(String user); @Override void stopProjectEnvironment(String project); @ProjectAdmin @Override void stopExploratory(@User UserInfo userInfo, String user, @Project String project, String exploratoryName); @ProjectAdmin @Override void stopComputational(@User UserInfo userInfo, String user, @Project String project, String exploratoryName,
								  String computationalName); @ProjectAdmin @Override void terminateExploratory(@User UserInfo userInfo, String user, @Project String project, String exploratoryName); @ProjectAdmin @Override void terminateComputational(@User UserInfo userInfo, String user, @Project String project,
									   String exploratoryName, String computationalName);  }### Answer:
@Test public void stopExploratory() { final UserInfo userInfo = getUserInfo(); when(exploratoryService.stop(any(UserInfo.class), anyString(), anyString())).thenReturn(UUID); environmentService.stopExploratory(new UserInfo(USER, TOKEN), USER, PROJECT_NAME, EXPLORATORY_NAME_1); verify(exploratoryService).stop(refEq(userInfo), eq(PROJECT_NAME), eq(EXPLORATORY_NAME_1)); verifyNoMoreInteractions(securityService, exploratoryService); }