We had to create three mock object classes.
我们需要创建三个模拟对象类。
The mock object classes we have can be reused and enhanced for future tests with minimal effort.
已有的模拟对象类可以再度使用,稍做修改就可以用于未来的测试。
Sometimes you may want to develop much more complex mock object classes because they will give you additional benefits.
有时您可能需要开发更复杂的模拟对象类,因为他们会带给您额外的收益。
We had to write approximately 50 lines of code that actually implemented the behavior we needed in our mock object classes.
我们大约需要编写50行代码来真正执行我们在模拟对象类中所需的行为。
For this reason, for ChangingThePresent, we do not mock model object classes.
出于这个原因,我们没有为ChangingThePresentmock模型对象类。
For this reason, for ChangingThePresent, we do not mock model object classes.
出于这个原因,我们没有为ChangingThePresentmock模型对象类。
应用推荐