Testing an Interface View of an Object
Interface views of objects allow you to test access to interface attributes and methods of an object, and so to simulate interface references.
Prerequisites
You already have instantiated the class that you want to test. For more information, see Creating Instances.
Procedure
- In the object display, select an interface.
- Choose the "magnifying glass" icon to generate an interface view of the object.
The system generates the view of the test object.
- If necessary, change the attribute values. For more information, see Testing Attributes.
- If necessary, execute the methods. For more information, see Testing Methods.
Result
You have simulated accessing the attributes and methods of an object using interface references.