Exemple #1
0
		public void Defaults ()
		{
			ConcreteEndPoint ep = new ConcreteEndPoint ();
			Assert.Throws<NotImplementedException> (delegate {
				Assert.IsNotNull (ep.AddressFamily);
			}, "AddressFamily");
			Assert.Throws<NotImplementedException> (delegate {
				Assert.IsNotNull (ep.Create (null));
			}, "Create");
			Assert.Throws<NotImplementedException> (delegate {
				Assert.IsNotNull (ep.Serialize ());
			}, "Serialize");
		}
Exemple #2
0
        public void Defaults()
        {
            ConcreteEndPoint ep = new ConcreteEndPoint();

            Assert.Throws <NotImplementedException> (delegate {
                Assert.IsNotNull(ep.AddressFamily);
            }, "AddressFamily");
            Assert.Throws <NotImplementedException> (delegate {
                Assert.IsNotNull(ep.Create(null));
            }, "Create");
            Assert.Throws <NotImplementedException> (delegate {
                Assert.IsNotNull(ep.Serialize());
            }, "Serialize");
        }
Exemple #3
0
		public void Serialize ()
		{
			ConcreteEndPoint ep = new ConcreteEndPoint ();
			Assert.IsNotNull (ep.Serialize ());
		}
Exemple #4
0
        public void Serialize()
        {
            ConcreteEndPoint ep = new ConcreteEndPoint();

            Assert.IsNotNull(ep.Serialize());
        }