DEVIDM-115: Moved the UseCase creation to the MockService.