/** * @test */ public function notLikeQuotesIdentifier() { $result = $this->subject->notLike('aField', "'aValue%'"); $this->connectionProphet->quoteIdentifier('aField')->shouldHaveBeenCalled(); $this->assertSame("aField NOT LIKE 'aValue%'", $result); }