object oriented design and implementation 面向对象设计与实现
Object-oriented design and implementation 面向对象的设计与实现
Create client implementation to gather and transfer the request object to the simulator service.
生成客户端实现以收集请求对象并将其传递给模拟器服务。
Find those methods that are called from the method under test and provide an implementation that behaves like the real object would.
找到那些以测试里的方法命名的方法,并提供一个行为像真实对象那样的实现。
The validation exception in this case is really a byproduct of the validation process, however, and would ideally be hidden from the business object implementation.
但是,在这种情况下,验证异常实际是验证过程的副产品,理想情况下,应该隐藏业务对象的实现。
应用推荐