public function addWithFlowQueryArgumentAppendsToCurrentContext() { $object1 = new \stdClass(); $object2 = new \stdClass(); $flowQuery = new FlowQuery([$object1]); $flowQueryArgument = new FlowQuery([$object2]); $arguments = [$flowQueryArgument]; $operation = new AddOperation(); $operation->evaluate($flowQuery, $arguments); $this->assertSame([$object1, $object2], $flowQuery->getContext()); }