public void DeleteSessionShouldThrowForNonSuccessStatusCode(HttpStatusCode httpStatusCode)
        {
            DocScanClient docScanClient = SetupDocScanClientResponse(httpStatusCode);

            var aggregateException = Assert.ThrowsException <AggregateException>(() =>
            {
                docScanClient.DeleteSession("someSessionId");
            });

            Assert.IsTrue(TestTools.Exceptions.IsExceptionInAggregateException <DocScanException>(aggregateException));
        }
        public void DeleteSessionSuccessShouldSucceed()
        {
            DocScanClient docScanClient = SetupDocScanClientResponse(HttpStatusCode.OK);

            docScanClient.DeleteSession("some-session-id");
        }