/** * @expectedException \Puli\Repository\Api\UnsupportedLanguageException * @expectedExceptionMessage foobar */ public function testRemoveFailsIfLanguageNotGlob() { $repo = new InMemoryRepository(); $repo->remove('/*', 'foobar'); }