public void Default ()
		{
			OraclePermissionAttribute a = new OraclePermissionAttribute (SecurityAction.Assert);
			Assert.AreEqual (a.ToString (), a.TypeId.ToString (), "TypeId");
			Assert.IsFalse (a.Unrestricted, "Unrestricted");
			Assert.IsFalse (a.AllowBlankPassword, "AllowBlankPassword");
			Assert.AreEqual (String.Empty, a.ConnectionString, "ConnectionString");
			Assert.AreEqual (KeyRestrictionBehavior.AllowOnly, a.KeyRestrictionBehavior, "KeyRestrictionBehavior");
			Assert.AreEqual (String.Empty, a.KeyRestrictions, "KeyRestrictions");
			Assert.IsFalse (a.ShouldSerializeConnectionString (), "ShouldSerializeConnectionString");
			Assert.IsFalse (a.ShouldSerializeKeyRestrictions (), "ShouldSerializeConnectionString");
			OraclePermission ocp = (OraclePermission)a.CreatePermission ();
			Assert.IsFalse (ocp.IsUnrestricted (), "IsUnrestricted");
		}
		public void Unrestricted ()
		{
			OraclePermissionAttribute a = new OraclePermissionAttribute (SecurityAction.Assert);
			a.Unrestricted = true;
			OraclePermission ocp = (OraclePermission)a.CreatePermission ();
			Assert.IsTrue (ocp.IsUnrestricted (), "IsUnrestricted");
			Assert.IsFalse (a.AllowBlankPassword, "AllowBlankPassword");
#if NET_2_0
			Assert.AreEqual (String.Empty, a.ConnectionString, "ConnectionString");
			Assert.AreEqual (KeyRestrictionBehavior.AllowOnly, a.KeyRestrictionBehavior, "KeyRestrictionBehavior");
			Assert.AreEqual (String.Empty, a.KeyRestrictions, "KeyRestrictions");
#endif
			a.Unrestricted = false;
			ocp = (OraclePermission)a.CreatePermission ();
			Assert.IsFalse (ocp.IsUnrestricted (), "!IsUnrestricted");
		}