/** * @test */ public function setWithoutNamedParameterQuotesIdentifierAndDelegatesToConcreteQueryBuilder() { $this->connection->quoteIdentifier('aField')->shouldBeCalled()->willReturnArgument(0); $this->concreteQueryBuilder->createNamedParameter(Argument::cetera())->shouldNotBeCalled(); $this->concreteQueryBuilder->set('aField', 'aValue')->shouldBeCalled()->willReturn($this->subject); $this->subject->set('aField', 'aValue', false); }