GeneratedFile { public byte[] contents() { return contents; } GeneratedFile(Type type, String relativePath, String contents);  GeneratedFile(Type type, String relativePath, byte[] contents); String relativePath(); byte[] contents(); Type getType(); @Override String toString();  }
@Test public void contents() { assertThat(testFile.contents()).isEqualTo(TEST_CONTENTS); }