Finished promise mocking.