public function testLinkTransformPatternValidatesRegexPassed() { $this->setExpectedException('\\noFlash\\TorrentGhost\\Exception\\RegexException'); $this->subjectUnderTest->setLinkTransformPattern(['grump grump', '']); }