We will be using these later in our second mock object implementation.
稍后我们将在第二个模拟对象实现中使用它们。
The next step is to specify a business object implementation to the constructor of the invocation handler.
下一步是把业务对象实现指定给调用处理程序的构造函数。
The structure of the message is generally tightly bound to the signature of the method being invoked by the underlying object implementation.
消息的结构通常紧密地绑定到由基础对象实现调用的方法的签名。
Our mock object will then implement both the service interface of the component it is replacing, plus the controller interface. An outline of a mock object implementation would look like
然后,我们的模拟对象将同时实现它替换的组件的服务接口和控制器接口。
Our mock object will then implement both the service interface of the component it is replacing, plus the controller interface. An outline of a mock object implementation would look like
然后,我们的模拟对象将同时实现它替换的组件的服务接口和控制器接口。
应用推荐