As long as there are method executions against objects the class USES, simple mock expectations are sufficient to test those executions.
只要有针对类使用的对象的方法执行,简单的模拟期望就足以测试那些执行。
Using the push method of the Array class, you can add new objects to your data provider.
使用Array类的push方法可以将新对象添加到数据提供程序中。
An Edge is a line segment, and you add Edge objects to a design through the add_line method of the Entities class.
Edge是一条线段,可以通过entities类的add_line方法将Edge对象添加到设计中。
The first thing I've done inside the run method is to create two instances of the Alternative class, each with a different array of Guards objects.
在run方法中,要做的第一件事是创建alternative类的两个实例,每个都有一组不同的Guard对象。
I'm going to make a class method that enables User objects to find themselves by name.
我打算制造一个类名,让User对象根据名称查找其自己。
The first class-ness of function objects is clearly demonstrated here. Listing 10 shows what happens when I try calling a garbage method on function blah
在这里展示了首个无类函数对象。
Using the parametered method, from instancing of class we produce objects which are used to represent concrete parts.
用参数化方法从零件类实例化生成对象,以对象来表示具体的零件;
When overridden in a derived class, returns an array of initializer objects corresponding to an input array of method definitions.
在派生类中重写时,返回与方法定义的输入数组对应的初始值设定项对象的数组。
Since all objects in the class pool are upcast to their common base class, the polymorphism of the method leads to that which object method will be executed can only be ascertained at runtime.
由于所有位于对象池中的对象都被上溯到它们的基类型,方法多态使得只有在运行时刻才能真正确定到底哪个对象的方法被执行。
This method is essential for the stability of a class of objects outside the loop transfer function matrix, in the decoupling both before and after decoupling is an essentially stable object.
提出了针对一类开环传递函数矩阵对象为本质稳定及解耦后仍是本质稳定时系统的冗余设计方法。
Returns an array of method objects reflecting all the methods declared by the class or interface represented by this class object.
返回一method对象数组,映射该Class对象表示的类或接口中声明的所有方法。
The course is the high-class composing part of stochastic math. and one of research objects of application math. It is the theory and method of solving random phenomenon.
本课程是随机数学的一个高级组成部分,也是应用数学的基本研究对象之一,它研究随机现象的数学理论和方法。
The course is the high-class composing part of stochastic math. and one of research objects of application math. It is the theory and method of solving random phenomenon.
本课程是随机数学的一个高级组成部分,也是应用数学的基本研究对象之一,它研究随机现象的数学理论和方法。
应用推荐