예제 #1
0
파일: SyncTest.php 프로젝트: morris/sync
 /**
  * @expectedException InvalidArgumentException
  */
 function testException()
 {
     Sync::call(function () {
         throw new \InvalidArgumentException('Oops');
     });
 }