Deployment extends GroupableConfiguration<DeploymentInfo> implements HasFile { @Override public Links getLinks() { return new Links(getId(), DEPLOYMENT_ENDPOINT); } Deployment();  Deployment(String jarFileName, String deployedBy, String deployedTime); @JsonIgnore File getFile(); void setFile(File file); @Override @JsonIgnore String getId(); String getFileName(); void setFileName(String jarFileName); String getDeployedTime(); void setDeployedTime(String deployedTime); String getDeployedBy(); void setDeployedBy(String deployedBy); @Override Links getLinks(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); @Override CommandType getCreationCommandType(); static final String DEPLOYMENT_ENDPOINT; }
@Test public void listLinkUsesJarFileName() { assertThat(deployment.getLinks().getList()).isEqualTo("/deployments"); }