testing.messaging.MockPortNetwork Extends
The fake PortNetwork.

Inheritance

Constructor

goog.testing.messaging.MockPortNetwork(mockControl)

Parameters

mockControl : !goog.testing.MockControl
The mock control for creating the mock message channels.

Instance Methods

Public Protected Private
Get the mock port with the given name.
Arguments:
name : string
The name of the port to get.
Returns: !goog.testing.messaging.MockMessageChannel  The mock port.
code »

Instance Properties

mockControl_ : goog.testing.MockControl
The mock control for creating mock message channels.
Code »
ports_ :
The mock ports that have been created.
Code »

Package testing.messaging

Package Reference