[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

sunit[s8] IKO and responds tests

"Test isKindOf:/respondsTo: with undefined receiver"
TestCase 
   subclass: #TestIKO
   instanceVariableNames: ''
   category: 'sunit-s8'!

! TestIKO methodsFor: 'test'!
testIsKindOf
   self deny: ([ MyUndefinedGlobal isKindOf: Point ]
                  on: Error do: [true])! !

! TestIKO methodsFor: 'test'!
testRespondsTo
   self deny: ([ MyUndefinedGlobal respondsTo: #yourself ]
                  on: Error do: [true])! !