1·Have a collaborator stand at the exit.
让一位合作者站在出口处。
2·Having moved to the University of Cambridge he needed a collaborator to help him apply these techniques in human patients.
在移居到英国剑桥大学后,他需要一个合作者来帮他把这些技术应用到人类患者身上。
3·Identify all occurrences of code that create or obtain the collaborator.
标识创建或获取合作者的代码的所有出现。
4·This collaborator must be replaced with a mock object.
必须用模仿对象替换这个合作者。
5·If production code has no need to instantiate many types of this collaborator, then adding that ability will make the resulting design needlessly hard to understand.
如果产品代码无需实例化该合作者的多个类型,那么添加该功能将使最终的设计不必要地变得难于理解。