Chris@0: beConstructedWith('', 'User', 'getName', array(1, 2, 3)); Chris@0: } Chris@0: Chris@0: function it_is_DoubleException() Chris@0: { Chris@0: $this->shouldHaveType('Prophecy\Exception\Doubler\DoubleException'); Chris@0: } Chris@0: Chris@0: function it_has_MethodName() Chris@0: { Chris@0: $this->getMethodName()->shouldReturn('getName'); Chris@0: } Chris@0: Chris@0: function it_has_classnamej() Chris@0: { Chris@0: $this->getClassname()->shouldReturn('User'); Chris@0: } Chris@0: Chris@0: function it_has_an_arguments_list() Chris@0: { Chris@0: $this->getArguments()->shouldReturn(array(1, 2, 3)); Chris@0: } Chris@0: Chris@0: function it_has_a_default_null_argument_list() Chris@0: { Chris@0: $this->beConstructedWith('', 'User', 'getName'); Chris@0: $this->getArguments()->shouldReturn(null); Chris@0: } Chris@0: }