def METHOD_NAME(self):
    user_name = "name"
    user_object = "shared"
    user = SystemUser.from_object(user_name=user_name, user_object=user_object)
    self.assertThat(user.name, Equals(user_name))
    self.assertThat(user.scope, Equals(SystemUserScope.SHARED))