using System.Threading.Tasks; using Xamarin.Essentials; using Xunit; namespace Tests { public class Clipboard_Tests { [Fact] public async Task Clipboard_SetText_Fail_On_NetStandard() => await Assert.ThrowsAsync(() => Clipboard.SetTextAsync("Text")); [Fact] public void Clipboard_HasText_Fail_On_NetStandard() => Assert.Throws(() => Clipboard.HasText); [Fact] public async Task Clipboard_GetText_Fail_On_NetStandard() => await Assert.ThrowsAsync(() => Clipboard.GetTextAsync()); } }