@@ -189,7 +189,7 @@ public function testAutoDetect(): void
189189 $ normalizer ->setHydrator ($ hydrator );
190190 $ normalizer ->handleReflectionType ($ this ->reflectionType (AutoTypeDto::class, 'profileCreated ' ));
191191
192- self ::assertEquals (ProfileCreated::class, $ normalizer ->getClassName ());
192+ self ::assertEquals (ProfileCreated::class, $ normalizer ->className ());
193193 }
194194
195195 public function testAutoDetectOverrideNotPossible (): void
@@ -200,7 +200,7 @@ public function testAutoDetectOverrideNotPossible(): void
200200 $ normalizer ->setHydrator ($ hydrator );
201201 $ normalizer ->handleReflectionType ($ this ->reflectionType (AutoTypeDto::class, 'profileCreated ' ));
202202
203- self ::assertEquals (AutoTypeDto::class, $ normalizer ->getClassName ());
203+ self ::assertEquals (AutoTypeDto::class, $ normalizer ->className ());
204204 }
205205
206206 public function testAutoDetectMissingType (): void
@@ -212,7 +212,7 @@ public function testAutoDetectMissingType(): void
212212 $ normalizer = new ObjectNormalizer ();
213213 $ normalizer ->setHydrator ($ hydrator );
214214
215- $ normalizer ->getClassName ();
215+ $ normalizer ->className ();
216216 }
217217
218218 public function testAutoDetectMissingTypeBecauseNull (): void
@@ -225,7 +225,7 @@ public function testAutoDetectMissingTypeBecauseNull(): void
225225 $ normalizer ->setHydrator ($ hydrator );
226226 $ normalizer ->handleReflectionType (null );
227227
228- $ normalizer ->getClassName ();
228+ $ normalizer ->className ();
229229 }
230230
231231 public function testGeneric (): void
@@ -236,7 +236,7 @@ public function testGeneric(): void
236236 $ normalizer ->setHydrator ($ hydrator );
237237 $ normalizer ->handleType (Type::generic (Type::object (ProfileCreated::class)));
238238
239- self ::assertEquals (ProfileCreated::class, $ normalizer ->getClassName ());
239+ self ::assertEquals (ProfileCreated::class, $ normalizer ->className ());
240240 }
241241
242242 public function testTemplate (): void
@@ -247,7 +247,7 @@ public function testTemplate(): void
247247 $ normalizer ->setHydrator ($ hydrator );
248248 $ normalizer ->handleType (Type::template ('T ' , Type::object (ProfileCreated::class)));
249249
250- self ::assertEquals (ProfileCreated::class, $ normalizer ->getClassName ());
250+ self ::assertEquals (ProfileCreated::class, $ normalizer ->className ());
251251 }
252252
253253 public function testSerialize (): void
0 commit comments