}
@Test
public void testDeregistration() throws Exception {
PentahoSystem.clearObjectFactory();
final IPentahoObjectRegistration handle = PentahoSystem.registerObject( "Testing" );
assertEquals( "Testing", PentahoSystem.get( String.class ) );
handle.remove();
assertNull( PentahoSystem.get( String.class ) );
}