"020 Accessing to global agent with #globalAgent"
| agent |
agent := NodeJS http globalAgent.
agent isNil ifTrue: [
^self error: '020 GlobalAgent failed'
].
(agent isKindOf: NodeHTTPAgent) ifFalse:[
self error: '020 Should be aNodeHTTPAgent'
].
self print: '020 Ok'.