public void PlaceClientBet_UserIsAbleToPlaceCertainBet_BetIsPlacedReturnTrue()
        {
            //Arrange
            CreateUserinDatabase();
            var moneyTransfer  = 10M;
            var betValue       = 10M;
            var dogToWin       = 1;
            var isStandard     = true;
            var manageUserData = new ManageUserData();
            var loadUserData   = new LoadUserData();

            //Action
            //Add client to dictionary because all manageUserData methods relay on it.
            loadUserData.AddClientToList(connectionId, username);
            //Transfer money to client account that he is able to place given bet.
            manageUserData.AddCashToClientAccount(connectionId, moneyTransfer);
            //Get the result if bet has been placed.
            var result = manageUserData.PlaceClientBet(connectionId, betValue, dogToWin, isStandard);

            //Assert
            Assert.IsTrue(result);

            //Delete recently added player in database to avoid conflicts with further tests.
            DeleteUserFromDatabase(username);
        }
        public void PlaceClientBet_UserCanNotPlaceCertainBet_BetIsNotPlacedReturnFalse()
        {
            //Arrange
            CreateUserinDatabase();
            var betValue       = 10M;
            var dogToWin       = 1;
            var isStandard     = true;
            var manageUserData = new ManageUserData();
            var loadUserData   = new LoadUserData();

            //Action
            //Add client to dictionary because all manageUserData methods relay on it.
            loadUserData.AddClientToList(connectionId, username);
            //Get the result if bet has been placed. User tries to place bet with 0 cash on his account.
            var result = manageUserData.PlaceClientBet(connectionId, betValue, dogToWin, isStandard);

            //Assert
            Assert.IsFalse(result);

            //Delete recently added player in database to avoid conflicts with further tests.
            DeleteUserFromDatabase(username);
        }