I'm trying to check (in an unit test) if a particular object is an ChildProcess, but I can't seem to get a reference to that class (which is here <https://github.com/joyent/node/blob/7c0419730b237dbfa0ec4e6fb33a99ff01825a8f/lib/child_process.js> )

what I would like do do is something like

```
selenium = require('selenium-standalone')
spawnOptions = { stdio: 'pipe' }
seleniumArgs = ['-Dwebdriver.chrome.driver=./node_modules/nodewebkit/nodewebkit/chromedriver']
@server = selenium(spawnOptions, seleniumArgs)

expect(server).to.be.an.instanceof(ChildProcess)

```

but I don't seem to figure out where to get the reference to ChildProcess 

UPDATE: based on the answer provided, I'm now testing using:

```
it 'start()', (done)->
  selenium.start.assert_Is_Function()
  selenium.start ->
    selenium.server.assert_Is_Not_Null()
    selenium.server.constructor.assert_Is_Function()
    selenium.server.constructor.name.assert_Is('ChildProcess')
    done()

```