@@ -714,7 +714,7 @@ public function testNormalizeWithOnlyNormalizationGroups(): void
714714 $ ref = 'Dummy- ' .implode ('_ ' , $ groups );
715715
716716 $ propertyNameCollectionFactoryProphecy = $ this ->prophesize (PropertyNameCollectionFactoryInterface::class);
717- $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, ['serializer_groups ' => $ groups ])->shouldBeCalled (1 )->willReturn (new PropertyNameCollection (['gerard ' ]));
717+ $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, ['serializer_groups ' => $ groups ])->shouldBeCalledTimes (1 )->willReturn (new PropertyNameCollection (['gerard ' ]));
718718 $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, [])->shouldBeCalled ()->willReturn (new PropertyNameCollection (['name ' ]));
719719 $ propertyNameCollectionFactoryProphecy ->create (Dummy::class)->shouldBeCalled ()->willReturn (new PropertyNameCollection (['name ' ]));
720720
@@ -1048,7 +1048,7 @@ public function testNormalizeWithOnlyDenormalizationGroups(): void
10481048 $ documentation = new Documentation (new ResourceNameCollection ([Dummy::class]), $ title , $ description , $ version );
10491049
10501050 $ propertyNameCollectionFactoryProphecy = $ this ->prophesize (PropertyNameCollectionFactoryInterface::class);
1051- $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, ['serializer_groups ' => 'dummy ' ])->shouldBeCalled (1 )->willReturn (new PropertyNameCollection (['gerard ' ]));
1051+ $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, ['serializer_groups ' => 'dummy ' ])->shouldBeCalledTimes (1 )->willReturn (new PropertyNameCollection (['gerard ' ]));
10521052 $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, [])->shouldBeCalled ()->willReturn (new PropertyNameCollection (['name ' ]));
10531053 $ propertyNameCollectionFactoryProphecy ->create (Dummy::class)->shouldBeCalled ()->willReturn (new PropertyNameCollection (['name ' ]));
10541054
@@ -1266,7 +1266,7 @@ public function testNormalizeWithNormalizationAndDenormalizationGroups(): void
12661266 $ documentation = new Documentation (new ResourceNameCollection ([Dummy::class]), $ title , $ description , $ version );
12671267
12681268 $ propertyNameCollectionFactoryProphecy = $ this ->prophesize (PropertyNameCollectionFactoryInterface::class);
1269- $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, ['serializer_groups ' => 'dummy ' ])->shouldBeCalled (1 )->willReturn (new PropertyNameCollection (['gerard ' ]));
1269+ $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, ['serializer_groups ' => 'dummy ' ])->shouldBeCalledTimes (1 )->willReturn (new PropertyNameCollection (['gerard ' ]));
12701270 $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, [])->shouldBeCalled ()->willReturn (new PropertyNameCollection (['name ' ]));
12711271 $ propertyNameCollectionFactoryProphecy ->create (Dummy::class)->shouldBeCalled ()->willReturn (new PropertyNameCollection (['name ' ]));
12721272
@@ -1781,10 +1781,10 @@ public function testNormalizeWithNestedNormalizationGroups(): void
17811781 $ relatedDummyRef = 'RelatedDummy- ' .implode ('_ ' , $ groups );
17821782
17831783 $ propertyNameCollectionFactoryProphecy = $ this ->prophesize (PropertyNameCollectionFactoryInterface::class);
1784- $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, ['serializer_groups ' => $ groups ])->shouldBeCalled (1 )->willReturn (new PropertyNameCollection (['name ' , 'relatedDummy ' ]));
1784+ $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, ['serializer_groups ' => $ groups ])->shouldBeCalledTimes (1 )->willReturn (new PropertyNameCollection (['name ' , 'relatedDummy ' ]));
17851785 $ propertyNameCollectionFactoryProphecy ->create (Dummy::class, [])->shouldBeCalled ()->willReturn (new PropertyNameCollection (['name ' ]));
17861786 $ propertyNameCollectionFactoryProphecy ->create (Dummy::class)->shouldBeCalled ()->willReturn (new PropertyNameCollection (['name ' ]));
1787- $ propertyNameCollectionFactoryProphecy ->create (RelatedDummy::class, ['serializer_groups ' => $ groups ])->shouldBeCalled (1 )->willReturn (new PropertyNameCollection (['name ' ]));
1787+ $ propertyNameCollectionFactoryProphecy ->create (RelatedDummy::class, ['serializer_groups ' => $ groups ])->shouldBeCalledTimes (1 )->willReturn (new PropertyNameCollection (['name ' ]));
17881788
17891789 $ dummyMetadata = new ResourceMetadata (
17901790 'Dummy ' ,
0 commit comments