@Test public void test_actual_node_version() throws Exception { Consumer<String> noop = s -> { }; NodeCommand nodeCommand = new NodeCommand(mockProcessWrapper, "node", 12, Collections.emptyList(), null, Collections.emptyList(), noop, noop); assertThat(nodeCommand.getActualNodeVersion()).isEqualTo(12); }
public int getActualNodeVersion() { return actualNodeVersion; }
NodeCommand { public int getActualNodeVersion() { return actualNodeVersion; } }
NodeCommand { public int getActualNodeVersion() { return actualNodeVersion; } NodeCommand(ProcessWrapper processWrapper, String nodeExecutable, int actualNodeVersion, List<String> nodeJsArgs, @Nullable String scriptFilename,
    List<String> args,
    Consumer<String> outputConsumer,
    Consumer<String> errorConsumer); }
NodeCommand { public int getActualNodeVersion() { return actualNodeVersion; } NodeCommand(ProcessWrapper processWrapper, String nodeExecutable, int actualNodeVersion, List<String> nodeJsArgs, @Nullable String scriptFilename,
    List<String> args,
    Consumer<String> outputConsumer,
    Consumer<String> errorConsumer); void start(); int waitFor(); @Override String toString(); int getActualNodeVersion(); static NodeCommandBuilder builder(); }
NodeCommand { public int getActualNodeVersion() { return actualNodeVersion; } NodeCommand(ProcessWrapper processWrapper, String nodeExecutable, int actualNodeVersion, List<String> nodeJsArgs, @Nullable String scriptFilename,
    List<String> args,
    Consumer<String> outputConsumer,
    Consumer<String> errorConsumer); void start(); int waitFor(); @Override String toString(); int getActualNodeVersion(); static NodeCommandBuilder builder();  }