Ejemplo n.º 1
0
	public function testInvalidParams() {
		$query = new Elastica_Query_Terms();

		try {
			$query->toArray();
			$this->fail('Should throw exception because no key');
		} catch (Elastica_Exception_Invalid $e) {
			$this->assertTrue(true);
		}

	}