public function testCreateValidMetric($expectedClass, $type, $options = array()) { $this->assertInstanceOf($expectedClass, Factory::create($type, $options)); }