assertNotEmpty( $this->manager->find('sdc_theme_test:bar'), ); // Test that if the folder name does not match the machine name, the // component is still available. $this->assertNotEmpty( $this->manager->find('sdc_theme_test:foo'), ); } /** * Test that the machine name is grabbed from the *.component.yml. * * And not from the enclosing directory. */ public function testMismatchingFolderName(): void { $this->expectException(ComponentNotFoundException::class); $this->manager->find('sdc_theme_test:mismatching-folder-name'); } }