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 must already have instantiated the class that you want to test. (see Creating an instance).

Procedure

  1. In the object display, select an interface.

    Example:
  2. Click the "magnifying glass" icon to generate an interface view of the object.
    The system generates the view of the test object.

    Example:
  3. If necessary, change the attribute values (see Testing attributes).
  4. If necessary, execute the methods (see Testing methods).

Result

You have not simulated accessing the attributes and methods of an object using interface references.