public function testSort(array $value, $formatted) { $this->assertSame([], $this->query->sort()); $this->assertSame($this->query, $this->query->sort($value)); $this->assertSame($formatted, $this->query->sort()); }