In this section you will use content assist to finish writing OCL expressions. Open the file testlib.oclx
in the OCL editor if you do not already have it open and select the myTest test in the Outline view.
If the file doesn't contain such a test see Adding new OCL Library content
for instructions on how to add this test.
expected class.ocl
class.ocl, press Ctrl+Space to activate content assist. The content assist window with a list of
proposals will appear.
ocl
(with no space in between). The list is narrowed and only shows entries starting with 'ocli'.
oclIsInvalid() from the list and press Enter.
The code for the oclIsInvalid() method is inserted.
expected class.oclIsInvalid() = false