user = new User(); $this->user->setPassword(self::PASSWORD); $this->user->setUsername(' '.self::USERNAME.' '); } public function testUsername(): void { $this->assertEquals(self::USERNAME, $this->user->getUsername()); } public function testPassword(): void { $this->assertEquals(self::PASSWORD, $this->user->getPassword()); } }