コード例 #1
0
        public void Should_be_able_to_set_arbitrary_permissions()
        {
            var permissions = permissionInfo.Configure("abc").Read("def").Write("xyz");

            permissions.configure.ShouldEqual("abc");
            permissions.write.ShouldEqual("xyz");
            permissions.read.ShouldEqual("def");
        }