diff --git a/tests/unit/Common/Transport/JsonSerializerTest.php b/tests/unit/Common/Transport/JsonSerializerTest.php index b14f6a8..ff0de07 100644 --- a/tests/unit/Common/Transport/JsonSerializerTest.php +++ b/tests/unit/Common/Transport/JsonSerializerTest.php @@ -153,15 +153,11 @@ public function test_exception_is_thrown_when_non_stdClass_or_serializable_objec $subParam = $this->prophesize(Parameter::class); $subParam->isArray()->shouldBeCalled()->willReturn(false); $subParam->isObject()->shouldBeCalled()->willReturn(true); - $subParam->getName()->shouldBeCalled()->willReturn('sub_resource'); - $subParam->getPath()->shouldBeCalled()->willReturn(''); $param = $this->prophesize(Parameter::class); $param->isArray()->shouldBeCalled()->willReturn(false); $param->isObject()->shouldBeCalled()->willReturn(true); $param->getProperty('subResource')->shouldBeCalled()->willReturn($subParam); - $param->getName()->shouldBeCalled()->willReturn('resource'); - $param->getPath()->shouldBeCalled()->willReturn(''); $userValues = ['subResource' => new NonSerializableResource()];