예제 #1
0
        public void returns_true_when_roles_are_not_the_same()
        {
            var comparer = new RoleComparer();

            Assert.True(comparer.AreEqual(Role.Subscriber, Role.Subscriber));
        }
예제 #2
0
        public void returns_false_when_roles_are_not_the_same()
        {
            var comparer = new RoleComparer();

            Assert.False(comparer.AreEqual(Role.Subscriber, Role.Admin));
        }