6 references to PropertyChangedAsync
Microsoft.DotNet.XUnitAssert.Tests (6)
Asserts\PropertyAssertsTests.cs (6)
65 await Assert.ThrowsAsync<ArgumentNullException>("object", () => Assert.PropertyChangedAsync(null!, "propertyName", () => Task.FromResult(0)));
66 await Assert.ThrowsAsync<ArgumentNullException>("testCode", () => Assert.PropertyChangedAsync(new NotifiedClass(), "propertyName", default(Func<Task>)!));
74 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), () => Task.FromResult(0)));
87 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter));
99 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);
114 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);