Пример #1
0
    public void WasPropertyChanged_IfPassedPropertyChangeArgNameIsSameAsNameOfPassedExpressionMember_True()
    {
        var args = new PropertyChangedEventArgs("SerendipityCollection");

        Assert.That(ExpressionsEx.WasPropertyChanged <NumbNut>(args, nn => nn.SerendipityCollection), Is.True);
    }
Пример #2
0
 public void WasPropertyChanged_IfPassedNameIsSameAsNameOfPassedExpressionMember_True()
 {
     Assert.That(ExpressionsEx.WasPropertyChanged <NumbNut>("SerendipityCollection", nn => nn.SerendipityCollection), Is.True);
 }