Beispiel #1
0
 public function testAssertThrowsAssertsTypeAndMessage()
 {
     Autoloader::autoload('Git');
     $this->assertThrows('\\Bart\\Git\\GitException', 'Contrived message', function () {
         throw new GitException('This is a Contrived message');
     });
 }