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