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