  public void testSimpleManifest() throws CompilationException {
    File closureLibraryDirectory = new File("../closure-library/closure/goog/");
    final List<File> dependencies = ImmutableList.of();
    String path = "test/org/plovr/example.js";
    File testFile = new File(path);
    JsSourceFile requiredInput = new JsSourceFile(path, testFile);
    final List<File> externs = ImmutableList.of();
    final boolean customExternsOnly = false;
    Manifest manifest = new Manifest(
        closureLibraryDirectory,
        dependencies,
        ImmutableList.<JsInput>of(requiredInput),
        externs,
        customExternsOnly);
    final ModuleConfig moduleConfig = null;
    Compilation compilerArguments = manifest.getCompilerArguments(moduleConfig);
    List<JSSourceFile> inputs = compilerArguments.getInputs();
    List<String> expectedNames = ImmutableList.copyOf(
        new String[] {
            "base.js",
            "/goog/debug/error.js",
            "/goog/string/string.js",
            "/goog/asserts/asserts.js",
            "/goog/array/array.js",
            "/goog/debug/entrypointregistry.js",
            "/goog/debug/errorhandlerweakdep.js",
            "/goog/useragent/useragent.js",
            "/goog/events/browserfeature.js",
            "/goog/disposable/disposable.js",
            "/goog/events/event.js",
            "/goog/events/eventtype.js",
            "/goog/events/browserevent.js",
            "/goog/events/eventwrapper.js",
            "/goog/events/listener.js",
            "/goog/structs/simplepool.js",
            "/goog/useragent/jscript.js",
            "/goog/events/pools.js",
            "/goog/object/object.js",
            "/goog/events/events.js",
            "test/org/plovr/example.js"
        }
        );
    assertEquals(expectedNames, Lists.transform(inputs, JS_SOURCE_FILE_TO_NAME));
  }

  public void testSimpleManifest() throws CompilationException {
    File closureLibraryDirectory = new File("../closure-library/closure/goog/");
    final List<File> dependencies = ImmutableList.of();
    String path = "test/org/plovr/example.js";
    File testFile = new File(path);
    JsSourceFile requiredInput = new JsSourceFile(path, testFile);
    final List<File> externs = ImmutableList.of();
    final boolean customExternsOnly = false;
    Manifest manifest = new Manifest(
        closureLibraryDirectory,
        dependencies,
        ImmutableList.<JsInput>of(requiredInput),
        externs,
        customExternsOnly);
    final ModuleConfig moduleConfig = null;
    Compilation compilerArguments = manifest.getCompilerArguments(moduleConfig);
    List<JSSourceFile> inputs = compilerArguments.getInputs();
    List<String> expectedNames = ImmutableList.copyOf(
        new String[] {
            "base.js",
            "/goog/debug/error.js",
            "/goog/string/string.js",
            "/goog/asserts/asserts.js",
            "/goog/array/array.js",
            "/goog/debug/entrypointregistry.js",
            "/goog/debug/errorhandlerweakdep.js",
            "/goog/useragent/useragent.js",
            "/goog/events/browserfeature.js",
            "/goog/disposable/disposable.js",
            "/goog/events/event.js",
            "/goog/events/eventtype.js",
            "/goog/reflect/reflect.js",
            "/goog/events/browserevent.js",
            "/goog/events/eventwrapper.js",
            "/goog/events/listener.js",
            "/goog/structs/simplepool.js",
            "/goog/useragent/jscript.js",
            "/goog/events/pools.js",
            "/goog/object/object.js",
            "/goog/events/events.js",
            "test/org/plovr/example.js"
        }
        );
    assertEquals(expectedNames, Lists.transform(inputs, JS_SOURCE_FILE_TO_NAME));
  }
