private async Task GetWorkflowStateHistoryAndStoreResponseAsync(string slug, string workflowId, string stateName, int?limit, string continuationToken, string embed)
        {
            string resolvedSlug       = SpecHelpers.ParseSpecValue <string>(this.featureContext, slug);
            string resolvedWorkflowId = SpecHelpers.ParseSpecValue <string>(this.featureContext, workflowId);
            string resolvedStateName  = SpecHelpers.ParseSpecValue <string>(this.featureContext, stateName);
            Embed2?resolvedEmbed      = string.IsNullOrEmpty(embed) ? (Embed2?)null : Enum.Parse <Embed2>(embed, true);

            ContentClient client = this.featureContext.Get <ContentClient>();
            SwaggerResponse <ContentStatesResponse> response = await client.GetWorkflowStateHistoryAsync(
                this.featureContext.GetCurrentTenantId(),
                resolvedWorkflowId,
                resolvedStateName,
                resolvedSlug,
                limit,
                continuationToken,
                resolvedEmbed).ConfigureAwait(false);

            this.scenarioContext.StoreLastApiResponse(response);
        }