'Assert that Zendesk was called with the correct ticket and ticket_update.'

def _assert_zendesk_called(self, zendesk_mock, ticket_id, ticket, ticket_update):

    expected_zendesk_calls = [mock.call.create_ticket(ticket), mock.call.update_ticket(ticket_id, ticket_update)]
    self.assertEqual(zendesk_mock.mock_calls, expected_zendesk_calls)
