Buggy code:
public class MediaTypeTests { @ Test public void includes ( ) throws Exception { <START_BUG> MediaType textPlain = new MediaType ( "text" , "plain" ) ; <END_BUG> assertTrue ( "Equal<seq2seq4repair_space>types<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>inclusive" , textPlain . includes ( textPlain ) ) ; MediaType allText = new MediaType ( "text" ) ; assertTrue ( "All<seq2seq4repair_space>subtypes<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>inclusive" , allText . includes ( textPlain ) ) ; assertFalse ( "All<seq2seq4repair_space>subtypes<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>inclusive" , textPlain . includes ( allText ) ) ; assertTrue ( "All<seq2seq4repair_space>types<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>inclusive" , ALL . includes ( textPlain ) ) ; assertFalse ( "All<seq2seq4repair_space>types<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>inclusive" , textPlain . includes ( ALL ) ) ; MediaType applicationSoapXml = new MediaType ( "application" , "soap+xml" ) ; MediaType applicationWildcardXml = new MediaType ( "application" , "*+xml" ) ; assertTrue ( applicationSoapXml . includes ( applicationSoapXml ) ) ; assertTrue ( applicationWildcardXml . includes ( applicationWildcardXml ) ) ; assertTrue ( applicationWildcardXml . includes ( applicationSoapXml ) ) ; assertFalse ( applicationSoapXml . includes ( applicationWildcardXml ) ) ; } @ Test public void testToString ( ) throws Exception { } @ Test ( expected = IllegalArgumentException . class ) public void slashInType ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void slashInSubtype ( ) { } @ Test public void getDefaultQualityValue ( ) { } @ Test public void parseMediaType ( ) throws Exception { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeNoSubtype ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeNoSubtypeSlash ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeIllegalType ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeIllegalSubtype ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeEmptyParameterAttribute ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeEmptyParameterValue ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeIllegalParameterAttribute ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeIllegalParameterValue ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeIllegalQualityFactor ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeIllegalCharset ( ) { } @ Test public void parseMediaTypeQuotedParameterValue ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void parseMediaTypeIllegalQuotedParameterValue ( ) { } @ Test public void parseCharset ( ) throws Exception { } @ Test public void parseURLConnectionMediaType ( ) throws Exception { } @ Test public void parseMediaTypes ( ) throws Exception { } @ Test public void compareTo ( ) { } @ Test public void compareToConsistentWithEquals ( ) { } @ Test public void compareToCaseSensitivity ( ) { } @ Test public void specificityComparator ( ) throws Exception { } @ Test public void sortBySpecificityRelated ( ) { } @ Test public void sortBySpecificityUnrelated ( ) { } }

Fix:
MediaType textPlain = MediaType . TEXT_PLAIN ;