public function getQuantity() { return $this->_quantity; }
public function testGetQuantity() { $func = function () { exit; }; $configData = array('worker' => $func, 'quantity' => 10); $config = new Config($configData); $this->assertEquals(10, $config->getQuantity()); }