public function testConstructPassedParams() { Fixtures::reset(); $config = array('adapter' => 'li3_fixtures\\tests\\mocks\\core\\MockLogCall', 'fixtures' => array('image' => 'name\\spa\\ce', 'gallery' => 'na\\mespac\\e')); Fixtures::config(array('fixture_test' => $config)); $callable = Fixtures::adapter('fixture_test'); $expected = $config + array('filters' => array()); $this->assertEqual($expected, $callable->construct[0]); }