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"); }
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"); }
public void Serialize () { ConcreteEndPoint ep = new ConcreteEndPoint (); Assert.IsNotNull (ep.Serialize ()); }
public void Serialize() { ConcreteEndPoint ep = new ConcreteEndPoint(); Assert.IsNotNull(ep.Serialize()); }