public function testClauseParameters() { $clause = new Clause(); $this->assertTrue(is_array($clause->getParameters())); $parameters = array('foo' => 2, 'moo' => 'abc', 'loo' => 'ABC'); $this->assertInstanceOf(get_class($clause), $clause->setParameters($parameters)); $this->assertSame($parameters, $clause->getParameters()); $this->assertEquals($parameters, $clause->getParameters()); }