Buggy code:
public class LinkedMapTest < K , V > extends AbstractOrderedMapTest < K , V > { public LinkedMapTest ( final String testName ) { } public static Test suite ( ) { } @ Override public LinkedMap < K , V > makeObject ( ) { } @ Override public LinkedMap < K , V > makeFullMap ( ) { } @ Override public String getCompatibilityVersion ( ) { } @ SuppressWarnings ( "unchecked" ) public void testReset ( ) { } public void testInsertionOrder ( ) { <START_BUG> if ( ( ( LinkedMapTest . isPutAddSupported ( ) ) == false ) || ( ( LinkedMapTest . isPutChangeSupported ( ) ) == false ) ) { <END_BUG> return ; } final K [ ] keys = LinkedMapTest . getSampleKeys ( ) ; final V [ ] values = LinkedMapTest . getSampleValues ( ) ; Iterator < K > keyIter ; Iterator < V > valueIter ; LinkedMapTest . resetEmpty ( ) ; map . put ( keys [ 0 ] , values [ 0 ] ) ; map . put ( keys [ 1 ] , values [ 1 ] ) ; keyIter = map . keySet ( ) . iterator ( ) ; LinkedMapTest . assertSame ( keys [ 0 ] , keyIter . next ( ) ) ; LinkedMapTest . assertSame ( keys [ 1 ] , keyIter . next ( ) ) ; valueIter = map . values ( ) . iterator ( ) ; LinkedMapTest . assertSame ( values [ 0 ] , valueIter . next ( ) ) ; LinkedMapTest . assertSame ( values [ 1 ] , valueIter . next ( ) ) ; map . put ( keys [ 1 ] , values [ 1 ] ) ; keyIter = map . keySet ( ) . iterator ( ) ; LinkedMapTest . assertSame ( keys [ 0 ] , keyIter . next ( ) ) ; LinkedMapTest . assertSame ( keys [ 1 ] , keyIter . next ( ) ) ; valueIter = map . values ( ) . iterator ( ) ; LinkedMapTest . assertSame ( values [ 0 ] , valueIter . next ( ) ) ; LinkedMapTest . assertSame ( values [ 1 ] , valueIter . next ( ) ) ; map . put ( keys [ 1 ] , values [ 2 ] ) ; keyIter = map . keySet ( ) . iterator ( ) ; LinkedMapTest . assertSame ( keys [ 0 ] , keyIter . next ( ) ) ; LinkedMapTest . assertSame ( keys [ 1 ] , keyIter . next ( ) ) ; valueIter = map . values ( ) . iterator ( ) ; LinkedMapTest . assertSame ( values [ 0 ] , valueIter . next ( ) ) ; LinkedMapTest . assertSame ( values [ 2 ] , valueIter . next ( ) ) ; map . put ( keys [ 0 ] , values [ 3 ] ) ; keyIter = map . keySet ( ) . iterator ( ) ; LinkedMapTest . assertSame ( keys [ 0 ] , keyIter . next ( ) ) ; LinkedMapTest . assertSame ( keys [ 1 ] , keyIter . next ( ) ) ; valueIter = map . values ( ) . iterator ( ) ; LinkedMapTest . assertSame ( values [ 3 ] , valueIter . next ( ) ) ; LinkedMapTest . assertSame ( values [ 2 ] , valueIter . next ( ) ) ; } public void testGetByIndex ( ) { } public void testGetValueByIndex ( ) { } public void testIndexOf ( ) { } public void testRemoveByIndex ( ) { } public BulkTest bulkTestListView ( ) { } public class TestListView extends AbstractListTest < K > { TestListView ( ) { } @ Override public List < K > makeObject ( ) { } @ Override public List < K > makeFullCollection ( ) { } @ Override public K [ ] getFullElements ( ) { } @ Override public boolean isAddSupported ( ) { } @ Override public boolean isRemoveSupported ( ) { } @ Override public boolean isSetSupported ( ) { } @ Override public boolean isNullSupported ( ) { } @ Override public boolean isTestSerialization ( ) { } } @ SuppressWarnings ( "unchecked" ) public void testClone ( ) { } @ Override public LinkedMap < K , V > getMap ( ) { } public void testInitialCapacityZero ( ) { } }

Fix:
if ( ( ! ( LinkedMapTest . isPutAddSupported ( ) ) ) || ( ! ( LinkedMapTest . isPutChangeSupported ( ) ) ) ) {