//
// Test Config related methods
//
public void testComponentPositive() {
TestComponent
newTestComponent = null,
testComponent = new TestComponent();
UIComponent uic = null;
// runtime addition
application.addComponent(testComponent.getComponentType(),
"com.sun.faces.TestComponent");
assertTrue(
null !=
(newTestComponent =
(TestComponent)
application.createComponent(testComponent.getComponentType())));
assertTrue(newTestComponent != testComponent);
// built-in components
for (int i = 0, len = standardComponentTypes.length; i < len; i++) {
assertTrue(null != (uic =