GeneratedFile { public Type getType() { return type; } 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 getType() { assertThat(testFile.getType()).isEqualTo(TEST_TYPE); }