public String toString() {
StringBuffer result = new StringBuffer();
result.append("${");
ModelItem modelItem = property.getModelItem();
if (modelItem instanceof Project) {
result.append(PropertyExpansionImpl.PROJECT_REFERENCE);
} else if (modelItem instanceof TestSuite) {
result.append(PropertyExpansionImpl.TESTSUITE_REFERENCE);
} else if (modelItem instanceof TestCase) {
result.append(PropertyExpansionImpl.TESTCASE_REFERENCE);
} else if (modelItem instanceof SecurityTest) {
result.append(PropertyExpansionImpl.SECURITYTEST_REFERENCE);
} else if (modelItem instanceof MockService) {
result.append(PropertyExpansionImpl.MOCKSERVICE_REFERENCE);
} else if (modelItem instanceof MockResponse) {
result.append(PropertyExpansionImpl.MOCKRESPONSE_REFERENCE);
} else if (modelItem instanceof TestStep) {
result.append(modelItem.getName()).append(PROPERTY_SEPARATOR);
} else if (modelItem instanceof TestRequest) {
result.append(((TestRequest) modelItem).getTestStep().getName()).append(PROPERTY_SEPARATOR);
}
result.append(property.getName());