public function testConstructorShouldThrowExceptionForInvalidType() { new Query($this->getMockCollection(), ['type' => -1], []); }