public async void DeleteTeam_Invalid_NoExistingTeam_Test()
        {
            //Arrange
            _adapterMock.Setup(r => r.DeleteIfExists(_team.Id)).Throws(new NullReferenceException());
            var teamHandler = new TeamHandler(_adapterMock.Object);

            //Act
            await teamHandler.Delete(_team.Id);

            //Assert
            //Exception must be thrown
        }
        public async void DeleteUser_Invalid_InvalidId_Test()
        {
            //Arrange
            var teamHandler = new TeamHandler(_adapterMock.Object);
            var invalidId = -1;

            //Act
            var result = await teamHandler.Delete(invalidId);

            //Assert
            //Exception must be thrown
        }
        public async void DeleteTeam_Valid_Test()
        {
            //Arrange
            var adapter = new Mock<IAdapter<Team, StoredTeam>>();
            const int idToDelete = 0;
            adapter.Setup(r => r.DeleteIfExists(idToDelete)).Returns(Task.FromResult(true));
            var teamHandler = new TeamHandler(adapter.Object);

            //Act
            var result = await teamHandler.Delete(idToDelete);

            //Assert
            Assert.IsTrue(result);
        }