Esempio n. 1
0
        public async Task Should_Throw_Should_Throw_ArgumentException_If_Path_Is_Null_Or_Empty()
        {
            await Assert.ThrowsAsync <ArgumentNullException>(() => _userClient.DeleteByUserIdAsync(null)).ConfigureAwait(false);

            await Assert.ThrowsAsync <ArgumentException>(() => _userClient.DeleteByUserIdAsync(string.Empty)).ConfigureAwait(false);
        }