@Test
  public void defaultPackage() {
    goldenTest(
        ImmutableList.of("good/DefaultPackage.java"),
        ImmutableMap.of("DefaultPackageFactory", "expected/DefaultPackageFactory.java"));
  }
Runs a golden-file test, and optionally updates the golden file if the test fails.

<p>If the golden file does not match current generated output, and the environment variable
{@value #GOLDEN_FILE_ROOT_ENV} is set to the root directory for resources, then the golden file
will be rewritten to match the generated output.

@param inputResources resource names for the sources that the test will compile
@param expectedOutput map where each key is the name of an expected generated file, and each
    corresponding value is the name of the resource with the text that should have been
    generated
factory/src/test/java/com/google/auto/factory/processor/AutoFactoryProcessorTest.java