ProductMedia extends BaseMagentoModel<Object[]> { @Override public String toString() { return "ProductMedia [exclude=" + exclude + ", file=" + file + ", image=" + image + ", label=" + label + ", position=" + position + ", types=" + types + ", url=" + url + ", properties=" + properties + "]"; }  @Override Object[] serializeToApi(); Product getProduct(); void setProduct(Product product); String getLabel(); void setLabel(String label); Boolean getExclude(); void setExclude(Boolean exclude); Integer getPosition(); void setPosition(Integer position); String getFile(); void setFile(String file); Set<Type> getTypes(); void setTypes(Set<Type> types); String getUrl(); void setUrl(String url); Media getImage(); void setImage(Media image); Boolean getStillAssigned(); void setStillAssigned(Boolean stillAssigned); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testImageFileThree() throws IOException { byte[] data = MagjaFileUtils.getBytesFromFileURL(imageUrl.toString()); assertNotNull(data); }