Forgetting how to operate a familiar object like a microwave oven, or forgetting how to drive to the house of a friend you've visited many times before can also be signs of something going wrong.
当你忘记如何操作一个熟悉的物品,如微波炉,或是忘记如何开车到一个你之前就拜访过很多次的朋友家时,这可能就是出现问题的征兆。
In this example, the object is an IDE hard drive.
在这个示例中,对象是IDE硬盘驱动器。
When we implement our mock object, we will need to consider how to produce the different errors needed to drive the different paths.
在实现模拟对象时,我们需要考虑如何生成驱动不同路径所需的不同错误。
应用推荐