def METHOD_NAME(self):
    credentials = APIKey.new_jwt_credentials(self.user)
    assert credentials.user == self.user
    assert credentials.type == SYMMETRIC_JWT_TYPE
    assert credentials.key
    assert credentials.secret
    assert credentials.is_active