存在测试
/*当子查询 (Subquery) 是以关键字 EXISTS 提出时,它可作为存在测试 (existence test)。
你可能还想测试所有需要的对象,甚至还想测试用作脚本钩子的标识元素是否存在。
To do this, we'll assume the existence of a test factory.要做到这一点,我们假定已经存在一个测试工厂。
The existence of working code is a wonderful thing for setting up a test suite that defines what the problem you want to solve is, exactly.得到已经正常运转的代码是非常有用的,这样可以制定测试组件,来精确定义你到底要解决什么问题。