You are here

class NoCallsExceptionSpec in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php \spec\Prophecy\Exception\Prediction\NoCallsExceptionSpec

Hierarchy

Expanded class hierarchy of NoCallsExceptionSpec

File

vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php, line 7

Namespace

spec\Prophecy\Exception\Prediction
View source
class NoCallsExceptionSpec extends ObjectBehavior {

  /**
   * @param \Prophecy\Prophecy\ObjectProphecy $objectProphecy
   * @param \Prophecy\Prophecy\MethodProphecy $methodProphecy
   */
  function let($objectProphecy, $methodProphecy) {
    $methodProphecy
      ->getObjectProphecy()
      ->willReturn($objectProphecy);
    $this
      ->beConstructedWith('message', $methodProphecy);
  }
  function it_is_PredictionException() {
    $this
      ->shouldHaveType('Prophecy\\Exception\\Prediction\\PredictionException');
  }
  function it_extends_MethodProphecyException() {
    $this
      ->shouldHaveType('Prophecy\\Exception\\Prophecy\\MethodProphecyException');
  }

}

Members