AdditiveName { public String getWikiDataId() { if (this.wikiDataId == null) { return "null"; } String res = this.wikiDataId; int startIndex = res.indexOf("en"); startIndex = startIndex + 5; int lastIndex = res.lastIndexOf("\""); if (startIndex < 3 || lastIndex < 3) { return res; } res = res.substring(startIndex, lastIndex); return res; } @Generated(hash = 1085820763)  AdditiveName(Long id, String additiveTag, String languageCode, String name, String overexposureRisk,
                        String exposureMeanGreaterThanAdi, String exposureMeanGreaterThanNoael,
                        String exposure95ThGreaterThanAdi, String exposure95ThGreaterThanNoael, String wikiDataId,
                        Boolean isWikiDataIdPresent); @Keep  AdditiveName(String additiveTag, String languageCode,
                        String name, String overexposureRisk, String wikiDataId); @Keep  AdditiveName(String additiveTag, String languageCode,
                        String name, String overexposureRisk); @Keep  AdditiveName(String name); @Generated(hash = 1697057291)  AdditiveName(); Long getId(); void setId(Long id); String getAdditiveTag(); void setAdditiveTag(String additiveTag); String getLanguageCode(); void setLanguageCode(String languageCode); String getName(); void setName(String name); String getWikiDataId(); boolean getIsWikiDataIdPresent(); void setWikiDataId(String wikiDataId); void setIsWikiDataIdPresent(Boolean isWikiDataIdPresent); boolean isNull(); boolean isNotNull(); String getOverexposureRisk(); void setOverexposureRisk(String overexposureRisk); String getExposureMeanGreaterThanAdi(); void setExposureMeanGreaterThanAdi(String exposureMeanGreaterThanAdi); String getExposureMeanGreaterThanNoael(); void setExposureMeanGreaterThanNoael(String exposureMeanGreaterThanNoael); String getExposure95ThGreaterThanAdi(); void setExposure95ThGreaterThanAdi(String exposure95ThGreaterThanAdi); String getExposure95ThGreaterThanNoael(); void setExposure95ThGreaterThanNoael(String exposure95ThGreaterThanNoael); void setExposureEvalMap(String exposure95ThGreaterThanAdi, String exposure95ThGreaterThanNoael, String exposureMeanGreaterThanAdi, String exposureMeanGreaterThanNoael); @Keep boolean hasOverexposureData();  }
@Test public void getWikiDataIdWithNullWikiDataId_returnsStringNull() { assertThat(mAdditiveName.getWikiDataId()).isEqualTo("null"); }