/** * @test */ public function innerJoinQuotesIdentifiersAndDelegatesToConcreteQueryBuilder() { $this->connection->quoteIdentifier('fromAlias')->shouldBeCalled()->willReturnArgument(0); $this->connection->quoteIdentifier('join')->shouldBeCalled()->willReturnArgument(0); $this->connection->quoteIdentifier('alias')->shouldBeCalled()->willReturnArgument(0); $this->concreteQueryBuilder->innerJoin('fromAlias', 'join', 'alias', null)->shouldBeCalled()->willReturn($this->subject); $this->subject->innerJoin('fromAlias', 'join', 'alias'); }