public function WeightTest::setUp in Physical Fields 8
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ WeightTest.php, line 26
Class
- WeightTest
- Tests the weight class.
Namespace
Drupal\Tests\physical\UnitCode
public function setUp() {
parent::setUp();
$this->weight = new Weight('5', 'kg');
}