public function testBuildQuery() { $queryConfig = clone $this->queryConfig; $expectedQueryConfig = clone $this->queryConfig; $this->decorator->buildQuery($queryConfig, $this->tableMock); $this->fooType->buildQuery($expectedQueryConfig, $this->tableMock); $this->assertEquals($expectedQueryConfig, $queryConfig); }