THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
TestPanelSource testPanelSource = new TestPanelSource(){
private static final long serialVersionUID = 1L;
public Panel getTestPanel(String panelId){
// prepare the SUT (which is Panel in this case)
return new AssociateInformationPanel(panelId);
}
};
tester.startPanel(testPanelSource);
// $Id - Assertion( Element - label - associateName) --> Assert label Values
tester.assertLabel("panel:labelValueAssociateName", "LastName,FirstName");
|
...