File extends FileInfo { @NameFormatConstraint @Override public String getName() { return super.getName(); } File();  File(String name, FileType type, String data);  File(File clone);  File(File clone, boolean setProjectReference);  File(File clone, Project project); @NameFormatConstraint @Override String getName(); Project getProject(); void setProject(Project project); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void constructor() { File another = new File(NAME, TYPE, DATA); assertEquals("name not same.", NAME, another.getName()); assertEquals("type not same.", TYPE, another.getType()); assertEquals("data not same.", DATA, another.getData()); }