Expectation::toBeAValidObject
Member of Expectation
idl
Expectation.toBeAValidObject, $
/_expect_failureVerifies that the expectation value is an object by using the idl obj_valid() function.
Examples
idl
p = plot(/buffer, /test)
(it.expects(p)).toBeAValidObject
(it.expects(42))._not_.toBeAValidObjectKeywords
_expect_failure {#kw-_expect_failure}
optionalinputtype=BooleanIf the test fails for some reason, set this to force passing because we expected failure. This keyword is for internal use only.