If you have extracted advice behavior to another class, you can substitute a mock object for your helper object and verify that the advice triggers at the right join points.
如果将建议行为抽取到另一个类中,那么就可以用一个mock对象替代helper类对象,并验证建议是否在正确的联结点上触发。
For example, the join class contains a left-join expression, a right-join expression, a join type, and a join criteria.
举例来说,join类包含一个左连接表达式、一个右连接表达式、一个连接类型和一个连接标准。
For example, the join class contains a left-join expression, a right-join expression, a join type, and a join criteria.
举例来说,join类包含一个左连接表达式、一个右连接表达式、一个连接类型和一个连接标准。
应用推荐