Lines 211-218
Link Here
|
211 |
public TestElement createTestElement() { |
211 |
public TestElement createTestElement() { |
212 |
try { |
212 |
try { |
213 |
TestElement element = (TestElement) testBeanClass.newInstance(); |
213 |
TestElement element = (TestElement) testBeanClass.newInstance(); |
214 |
// configure(element); |
214 |
element.setName(getName()); |
215 |
// super.clear(); // set name, enabled. |
215 |
configure(element); |
216 |
modifyTestElement(element); // put the default values back into the |
216 |
modifyTestElement(element); // put the default values back into the |
217 |
// new element |
217 |
// new element |
218 |
return element; |
218 |
return element; |