### Question:
RemoteExecuteServiceImpl implements RemoteExecutionService { public static final RemoteExecutionService instance(final IRODSMidLevelProtocol irodsMidLevelProtocol, final String commandToExecuteWithoutArguments, final String argumentsToPassWithCommand, final String executionHost) throws JargonException { return new RemoteExecuteServiceImpl(irodsMidLevelProtocol, commandToExecuteWithoutArguments, argumentsToPassWithCommand, executionHost, "", PathHandlingMode.NONE); } private  RemoteExecuteServiceImpl(final IRODSMidLevelProtocol irodsCommands,
			final String commandToExecuteWithoutArguments, final String argumentsToPassWithCommand,
			final String executionHost, final String absolutePathOfIrodsFileThatWillBeUsedToFindHostToExecuteOn,
			final PathHandlingMode pathHandlingMode); @Override String toString(); static final RemoteExecutionService instance(final IRODSMidLevelProtocol irodsMidLevelProtocol,
			final String commandToExecuteWithoutArguments, final String argumentsToPassWithCommand,
			final String executionHost); static final RemoteExecutionService instanceWhenUsingAbsPathToSetCommandArg(
			final IRODSMidLevelProtocol irodsMidLevelProtocol, final String commandToExecuteWithoutArguments,
			final String argumentsToPassWithCommand, final String executionHost,
			final String absolutePathOfIrodsFileThatWillBeUsedToFindHostToExecuteOn); static final RemoteExecutionService instanceWhenUsingAbsPathToFindExecutionHost(
			final IRODSMidLevelProtocol irodsMidLevelProtocol, final String commandToExecuteWithoutArguments,
			final String argumentsToPassWithCommand, final String executionHost,
			final String absolutePathOfIrodsFileThatWillBeUsedToFindHostToExecuteOn); @Override InputStream execute(); @Override InputStream executeAndStream(); IRODSMidLevelProtocol getIrodsCommands(); String getCommandToExecuteWithoutArguments(); String getArgumentsToPassWithCommand(); String getExecutionHost(); String getAbsolutePathOfIrodsFileThatWillBeUsedToFindHostToExecuteOn(); static final String STREAMING_API_CUTOFF; }### Answer:
@Test public final void testInstance() throws Exception { String cmd = "hello"; String args = ""; String host = "host"; IRODSMidLevelProtocol irodsCommands = Mockito.mock(IRODSMidLevelProtocol.class); RemoteExecutionService remoteExecuteService = RemoteExecuteServiceImpl.instance(irodsCommands, cmd, args, host); Assert.assertNotNull(remoteExecuteService); }