BloomTests.WebLibraryIntegration.BloomParseClientTests.GetBookCount_AfterAddingABook_Increases C# (CSharp) Method

GetBookCount_AfterAddingABook_Increases() private method

private GetBookCount_AfterAddingABook_Increases ( ) : void
return void
        public void GetBookCount_AfterAddingABook_Increases()
        {
            var initialCount = _client.GetBookCount();
            CreateBookRecord();
            Thread.Sleep(3000);//jh added this because the test failed frequently, but not when stepping through. Hypothesizing that AWS S3 doesn't update the count immediately
            Assert.Greater(_client.GetBookCount(), initialCount);
        }