### Question:
EnvironmentServiceImpl implements EnvironmentService { @ProjectAdmin @Override public void stopComputational(@User UserInfo userInfo, String user, @Project String project, String exploratoryName, String computationalName) { computationalService.stopSparkCluster(new UserInfo(user, userInfo.getAccessToken()), project, exploratoryName, computationalName); } @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 stopComputational() { final UserInfo userInfo = getUserInfo(); doNothing().when(computationalService).stopSparkCluster(any(UserInfo.class), anyString(), anyString(), anyString()); environmentService.stopComputational(userInfo, USER, PROJECT_NAME, EXPLORATORY_NAME_1, "compName"); verify(computationalService).stopSparkCluster(refEq(userInfo), eq(PROJECT_NAME), eq(EXPLORATORY_NAME_1), eq("compName")); verifyNoMoreInteractions(securityService, computationalService); }