### Question:
VmConfig { public File javaExecutable() { return new File(javaHome, "bin/java"); } private  VmConfig(Builder builder); File javaHome(); File javaExecutable(); ImmutableList<String> options(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testExecutable() { assertEquals(new File("/some/home/dir/bin/java"), new VmConfig.Builder(new File("/some/home/dir")).build().javaExecutable()); }