### Question:
BuilderInputs { static Digest digest(Value<?> input) { return digest(Collections.singletonMap("parameter", input)); } BuilderInputs(Class<?> type, Map<Field, Value<?>> values, boolean isNonDeterministic); Set<Path> getInputFiles(); Set<Path> getOutputDirectories(); Set<Path> getOutputFiles(); Set<ResourceRoot> getResourceRoots(); Set<CompileSourceRoot> getCompileSourceRoots(); boolean isNonDeterministic(); Digest getDigest(); static Digest emptyDigest(); Object newBuilder();  }### Answer:
@Test public void testDigest() throws Exception { File basedir = temp.newFolder(); File fileA = new File(basedir, "a"); fileA.createNewFile(); TestInputBuilder builder = builder(basedir); Digest digest = builder.build(_Data.class).getDigest(); touch(fileA); assertNotEquals(digest, builder.build(_Data.class).getDigest()); }