assertSame(1, $user->getId()); $this->assertSame($email, $user->getEmail()); $this->assertSame('hashed-password', $user->getPasswordHash()); } }