注:根据模仿对象的创造者所说,它应该在其 validate() 方法内部执行自己的所有验证。
Note: According to its inventors, a mock object is supposed to perform all of its own validation inside its validate() method.
比起根据字典上的注意读出每个单词,模仿另一个人的说话要容易得多!
It's much easier to imitate another speaker than it is to sound out each word according to phonetics in a dictionary!
既然模仿内置功能,为何不根据这些已有的方法建立模型呢?
We're working on imitating built-in functionality, so why not model our methods on those that already exist?
应用推荐