/** * @test */ public function getDepthWords() { $section = new Section('Styleguide Forms.Buttons.Actions.'); $this->assertEquals(2, $section->getDepth()); $section = new Section('Styleguide Forms - Buttons - Actions -'); $this->assertEquals(2, $section->getDepth()); }