| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 18 | public function testBasic(): void | ||
| 19 |     { | ||
| 20 | $path = new RoutedPath(new Arrays(['user' => 'bvdbv'])); | ||
| 21 | |||
| 22 | $this->assertEmpty(StoreRouted::getPath()); | ||
| 23 | |||
| 24 | StoreRouted::init($path); | ||
| 25 | $this->assertNotEmpty(StoreRouted::getPath()); | ||
| 26 | $xPath = StoreRouted::getPath(); | ||
| 27 |         $this->assertEquals('bvdbv', $xPath->getUser()); | ||
| 28 | } | ||
| 30 |