/** * @test */ public function notInWithArrayQuotesIdentifier() { $result = $this->subject->notIn('aField', [1, 2, 3]); $this->connectionProphet->quoteIdentifier('aField')->shouldHaveBeenCalled(); $this->assertSame('aField NOT IN (1, 2, 3)', $result); }