test_class.file: jaxrs-delegates/src/test/java/org/wso2/msf4j/delegates/MediaTypeHeaderProviderTest.java
test_class.identifier: MediaTypeHeaderProviderTest
test_class.superclass: extends Assert
test_case.body: @Test
      public void testSimpleToString() {
          MediaTypeHeaderProvider provider =
                  new MediaTypeHeaderProvider();
  
          assertEquals("text/plain", provider.toString(new MediaType("text", "plain")),
                  "simple media type is not serialized");
      }
test_case.class_method_signature: MediaTypeHeaderProviderTest.testSimpleToString()
test_case.full_signature: @Test public void testSimpleToString()
test_case.identifier: testSimpleToString
test_case.invocations: assertEquals toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSimpleToString()
focal_class.file: jaxrs-delegates/src/main/java/org/wso2/msf4j/delegates/MediaTypeHeaderProvider.java
focal_class.identifier: MediaTypeHeaderProvider
focal_class.interfaces: implements HeaderDelegate<MediaType>
focal_class.class_method_signature: MediaTypeHeaderProvider.fromString(String mType)
focal_class.full_signature: public MediaType fromString(String mType)
focal_class.identifier: fromString
focal_class.modifiers: public
focal_class.parameters: (String mType)
focal_class.return: MediaType
focal_class.signature: MediaType fromString(String mType)
focal_class.class_method_signature: MediaTypeHeaderProvider.toString(MediaType type)
focal_class.full_signature: public String toString(MediaType type)
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: (MediaType type)
focal_class.return: String
focal_class.signature: String toString(MediaType type)
focal_method.body: public String toString(MediaType type) {
          if (type == null) {
              throw new IllegalArgumentException("MediaType can not be null");
          }
          return type.getType() + '/' + type.getSubtype();
      }
focal_method.class_method_signature: MediaTypeHeaderProvider.toString(MediaType type)
focal_method.full_signature: public String toString(MediaType type)
focal_method.identifier: toString
focal_method.invocations: getType getSubtype
focal_method.modifiers: public
focal_method.parameters: (MediaType type)
focal_method.return: String
focal_method.signature: String toString(MediaType type)