<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def addUnexpectedSuccess(self, test):
 """Register a test that passed unexpectedly. Parameters test : unittest.TestCase The test that has completed. """

        result = self._handle_result(
            test, TestCompletionStatus.unexpected_success)
        self.unexpectedSuccesses.append(result)