function it_builds_greater_than(CollectionsExpressionBuilder $expressionBuilder) { $this->greaterThan('o.foo', 'value'); $expressionBuilder->gt('o.foo', 'value')->shouldHaveBeenCalled(); }