public String asString() {
        return type.value + "/" + subType;
    }
@return the charset of this media type if one is specified
@throws java.lang.IllegalArgumentException if no charset is specified
jgiven-core/src/main/java/com/tngtech/jgiven/attachment/MediaType.java