This method restricts access to objects based commonly on the groups to which they belong.
此方法通常根据对象所属的分组来限制对对象的访问。
As long as there are method executions against objects the class USES, simple mock expectations are sufficient to test those executions.
只要有针对类使用的对象的方法执行,简单的模拟期望就足以测试那些执行。
You have to remember which object is overriding which method, and what objects have new functionality attached to them.
你需要记住对象重写了哪个方法,以及为哪些对象添加了新的功能。
应用推荐