public function MeasurementTest::setUp in Physical Fields 8
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ MeasurementTest.php, line 26
Class
- MeasurementTest
- Tests the measurement base class.
Namespace
Drupal\Tests\physical\UnitCode
public function setUp() {
parent::setUp();
$this->measurement = new Length('10', 'm');
}