File extends FileInfo { Project getPostRemoveProjectReference() { if (this.postRemoveProjectReference != null) { Project projectReference = this.postRemoveProjectReference; setPostRemoveProjectReference(null); return projectReference; } return null; } 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 getPostRemoveProjectReference() { entity.setProject(null); assertNotNull("post remove project reference is null.", entity .getPostRemoveProjectReference()); assertNull("post remove project reference not null.", entity .getPostRemoveProjectReference()); }