Exemple #1
0
        public void CreateCodeAccessPermission()
        {
            PermissionState      state      = _faker.PickRandom <PermissionState>();
            CodeAccessPermission permission = _factory.CreatePermission(state);

            Assert.IsNotNull(permission);
            Assert.IsInstanceOf(typeof(CustomDbCodePermission), permission);
        }