コード例 #1
0
 /**
  * @expectedException \BadMethodCallException
  * @expectedExceptionMessage Mocking "foo" is not supported.
  */
 public function testBadMethodCallExceptionIsThrownIfAttemptingToMockUnsupportedMethod()
 {
     $qbm = new QueryBuilderMocker($this);
     $qbm->foo();
 }