EntryProperties { public void setDependencies(String dependencies) { this.dependencies = dependencies; }  static EntryProperties parse(InputStream inputStream); @XmlAnyElement Element[] getProperties(); void setProperties(Element[] properties); void setNuspec(Nuspec nuspecFile); String getId(); void setId(String id); SemanticVersion getVersion(); void setVersion(SemanticVersion version); String getTitle(); void setTitle(String title); String getIconUrl(); void setIconUrl(String iconUrl); String getLicenseUrl(); void setLicenseUrl(String licenseUrl); String getProjectSourceUrl(); void setProjectSourceUrl(String projectSourceUrl); String getProjectUrl(); void setProjectUrl(String projectUrl); String getReportAbuseUrl(); void setReportAbuseUrl(String reportAbuseUrl); Integer getDownloadCount(); void setDownloadCount(Integer downloadCount); Integer getVersionDownloadCount(); void setVersionDownloadCount(Integer versionDownloadCount); Integer getRatingsCount(); void setRatingsCount(Integer ratingsCount); Integer getVersionRatingsCount(); void setVersionRatingsCount(Integer versionRatingsCount); Double getRating(); void setRating(Double rating); Double getVersionRating(); void setVersionRating(Double versionRating); Boolean getRequireLicenseAcceptance(); void setRequireLicenseAcceptance(Boolean requireLicenseAcceptance); String getDescription(); void setDescription(String description); String getReleaseNotes(); void setReleaseNotes(String releaseNotes); String getLanguage(); void setLanguage(String language); Date getPublished(); void setPublished(Date published); Double getPrice(); void setPrice(Double price); String getDependencies(); void setDependencies(String dependencies); String getPackageHash(); void setPackageHash(String packageHash); Long getPackageSize(); void setPackageSize(Long packageSize); String getExternalPackageUri(); void setExternalPackageUri(String externalPackageUri); String getCategories(); void setCategories(String categories); String getCopyright(); void setCopyright(String copyright); String getPackageType(); void setPackageType(String packageType); void setBugTrackerUrl(String bugTrackerUrl); String getBugTrackerUrl(); void setDocsUrl(String docsUrl); String getDocsUrl(); void setPackageSourceUrl(String packageSourceUrl); String getPackageSourceUrl(); void setMailingListUrl(String mailingListUrl); String getMailingListUrl(); List<String> getTags(); void setTags(List<String> tags); Boolean getIsLatestVersion(); void setIsLatestVersion(Boolean isLatestVersion); String getSummary(); void setSummary(String summary); void setDependenciesList(List<Dependency> dependencies); List<Dependency> getDependenciesList();  }
@Test public void testGetDependenciesListFromEmptyString() throws Exception { EntryProperties properties = new EntryProperties(); properties.setDependencies("eres"); assertThatExceptionOfType(NugetFormatException.class) .isThrownBy(properties::getDependenciesList); }