@GwtIncompatible("com.google.common.testing.NullPointerTester")
public void testNullPointer() throws Exception {
NullPointerTester tester = new NullPointerTester();
tester.testAllPublicConstructors(MediaType.class);
tester.testAllPublicStaticMethods(MediaType.class);
tester.testAllPublicInstanceMethods(MediaType.parse("text/plain"));
}
public void testToString() {
assertEquals("text/plain", MediaType.create("text", "plain").toString());