### Question:
TransferRequestJsonPacket extends JsonPacket { public void setFileInformation(String fileInformation) { if (fileInformation == null) { fileInformation = ""; } this.fileInformation = fileInformation; }  boolean isAdditionalDelay(); void setAdditionalDelay(final boolean isAdditionalDelay); long getDelay(); void setDelay(final long delay); Date getStart(); void setStart(final Date start); String getRequested(); void setRequested(final String requested); String getRulename(); void setRulename(final String rulename); int getMode(); void setMode(final int mode); String getFilename(); void setFilename(final String filename); int getBlocksize(); void setBlocksize(final int blocksize); int getRank(); void setRank(final int rank); long getSpecialId(); void setSpecialId(final long specialId); byte getValidate(); boolean isToValidate(); void setValidate(final byte validate); void validate(); long getOriginalSize(); void setOriginalSize(final long originalSize); String getFileInformation(); void setFileInformation(String fileInformation); String getSeparator(); void setSeparator(final String separator); @JsonIgnore void setFromDbTaskRunner(final DbTaskRunner runner); @Override void setRequestUserPacket();  }### Answer:
@Test public void testSetFileInformation() { final TransferRequestJsonPacket packet = new TransferRequestJsonPacket(); packet.setFileInformation("foo"); assertEquals("The given value should have been set", "foo", packet.getFileInformation()); packet.setFileInformation((String) null); assertEquals("null should be set as an empty string", "", packet.getFileInformation()); }