예제 #1
0
        void GetClaims_WithKey_ReturnsClaimsFromAllDecoratedMethods()
        {
            var target = new TargetClass();

            var result = target.GetClaims("Abc").OrderBy(c => c.Value);

            Assert.Collection(result,
                              claim => Assert.Equal("0", claim.Value),
                              claim => Assert.Equal("1", claim.Value)
                              );
        }