/** * @test */ public function insertQuotesIdentifierAndDelegatesToConcreteQueryBuilder() { $this->connection->quoteIdentifier('aTable')->shouldBeCalled()->willReturnArgument(0); $this->concreteQueryBuilder->insert(Argument::exact('aTable'))->shouldBeCalled()->willReturn($this->subject); $this->subject->insert('aTable'); }