ServiceLoader<PigShim> l = ServiceLoader.load( PigShim.class );
PigShim s = l.iterator().next();
assertTrue( CommonPigShim.class.isAssignableFrom( s.getClass() ) );</BUG>
}
@Test
<BUG>public void sqoopShimRegistered() {
ServiceLoader<SqoopShim> l = ServiceLoader.load( SqoopShim.class );
SqoopShim s = l.iterator().next();
assertTrue( org.pentaho.hadoop.shim.emr32.ClassPathModifyingSqoopShim.class.equals( s.getClass() ) );</BUG>
}

import org.pentaho.hadoop.shim.spi.SnappyShim;
import org.pentaho.hbase.shim.spi.HBaseShim;
public class ShimRegistrationTest {
