def METHOD_NAME(self):  # pylint: disable=C0103
    """Test that users are validated before initiating project transfer"""
    mock_stdout = StringIO()
    sys.stdout = mock_stdout
    call_command(
        "transferproject",
        current_owner="user1",
        new_owner="user2",
        all_projects=True,
    )
    expected_output = "User user1 does not existUser user2 does " "not exist\n"
    self.assertEqual(mock_stdout.getvalue(), expected_output)