<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_next_occurrence(self) -> date: """ Returns the next occurrence date for transaction """

        result = get_next_occurrence(self.transaction)
        assert isinstance(result, date)
        return result