/** * @expectedException \Puli\Repository\Api\UnsupportedLanguageException * @expectedExceptionMessage foobar */ public function testFindFailsIfLanguageNotGlob() { $repo = new FilesystemRepository($this->tempDir); $repo->find('/*', 'foobar'); }