final Object instance = component.getComponentInstance().getInstance();
TestCase.assertTrue( "Expecting component " + component.getName()
+ " to be an AbstractActivateSignatureTestComponent",
instance instanceof AbstractActivateSignatureTestComponent );
final AbstractActivateSignatureTestComponent aastc = ( AbstractActivateSignatureTestComponent ) instance;
TestCase.assertEquals( "Expect activate method to be called", component.getName(), aastc.getMethodCalled() );
}
}