Adds mock method to mock object.

Supports the use of calls to port_open? in bounce_service.

Signed-off-by: Wayne <wayne@puppetlabs.com>