public async Task PostCollectionAsync_Error()
        {
            var tests                 = TestData.TestDomains;
            var error                 = ErrorTransferData.ErrorBadRequest;
            var resultIds             = new ResultCollection <TestEnum>(error);
            var restClient            = RestClientMock.PostRestClient(resultIds);
            var testTransferConverter = TestTransferConverter;
            var testRestService       = new TestRestService(restClient.Object, testTransferConverter);

            var result = await testRestService.PostCollectionAsync(tests);

            Assert.True(result.HasErrors);
            Assert.True(result.Errors.First().ErrorResultType == ErrorResultType.BadRequest);
        }
        public async Task PostCollectionAsync_Ok()
        {
            var tests                 = TestData.TestDomains;
            var testsIds              = tests.Select(test => test.Id).ToList();
            var resultIds             = new ResultCollection <TestEnum>(testsIds);
            var restClient            = RestClientMock.PostRestClient(resultIds);
            var testTransferConverter = TestTransferConverter;
            var testRestService       = new TestRestService(restClient.Object, testTransferConverter);

            var result = await testRestService.PostCollectionAsync(tests);

            Assert.True(result.OkStatus);
            Assert.True(result.Value.SequenceEqual(testsIds));
        }