using Xamarin.Essentials; using Xunit; namespace Tests { public class Battery_Tests { [Fact] public void Charge_Level_On_NetStandard() => Assert.Throws(() => Battery.ChargeLevel); [Fact] public void Charge_State_On_NetStandard() => Assert.Throws(() => Battery.State); [Fact] public void Charge_Power_Source_On_NetStandard() => Assert.Throws(() => Battery.PowerSource); [Fact] public void Battery_Changed_Event_On_NetStandard() => Assert.Throws(() => Battery.BatteryChanged += Battery_BatteryChanged); void Battery_BatteryChanged(object sender, BatteryChangedEventArgs e) { } } }