@Test
public void shouldReturnNpmVersionFromOutput() throws Exception {

  try (InputStream is = NodeInfoReader.class.getClassLoader().getResourceAsStream("npm/npm-version-output.json")) {
    String out = Strings.read(is);
    String result = NodeInfoReader.getVersionFromOutput(out);
    assertEquals("6.14.5", result);
  }
}