public function test_factory_parse_nullText() { TestHelper::assertNullException($this, function () { Duration::parse(null); }); }