vendor文件夹 缺失文件提交
This commit is contained in:
29
vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php
vendored
Normal file
29
vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace spec\Prophecy\Exception\Prediction;
|
||||
|
||||
use PhpSpec\ObjectBehavior;
|
||||
|
||||
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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user