import java.util.ServiceLoader;
import static org.junit.Assert.assertTrue;
public class ShimRegistrationTest {</BUG>
@Test
public void hadoopShimRegistered() {
<BUG>ServiceLoader<org.pentaho.hadoop.shim.spi.HadoopShim> l =
ServiceLoader.load( org.pentaho.hadoop.shim.spi.HadoopShim.class );

org.pentaho.hadoop.shim.spi.HadoopShim s = l.iterator().next();
assertTrue( org.pentaho.hadoop.shim.hdp21.HadoopShim.class.isAssignableFrom( s.getClass() ) );</BUG>
}

import java.util.ServiceLoader;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
public class ShimRegistrationTest {
@Test
public void hadoopShimRegistered() {
assertRegistered( org.pentaho.hadoop.shim.spi.HadoopShim.class );
}
