常用方法
常用方法
常用方法
常用方法
/** * Test getter/setter for metricType property */ public function testGetSetMetricFamily() { $this->assertNull($this->attribute->getMetricFamily()); // Change value and assert new $type = 'weight'; $this->assertEntity($this->attribute->setMetricFamily($type)); $this->assertEquals($type, $this->attribute->getMetricFamily()); }