/** * Test that the array of params has the correct key => value pairs. * * @return void */ public function testGetParamsAsArray() { $paramsToCompare = array('workerNumber' => 16, 'address' => '0.0.0.0', 'port' => 8585); $params = $this->abstractParamsNode->getParamsAsArray(); $this->assertSame($paramsToCompare, $params); }