def METHOD_NAME(self) -> None:
    username = "user"
    pu = ProvidesUser(username)
    # pyre-fixme[16]: `Requirement` has no attribute `name`.
    self.assertEqual(pu.req.name, username)
    self.assertTrue(pu.provides(RequireUser(username)))
    self.assertFalse(pu.provides(RequireUser("user2")))