public void CreateBindingElements ()
{
WebHttpBinding b = new WebHttpBinding ();
BindingElementCollection bc = b.CreateBindingElements ();
Assert.AreEqual (2, bc.Count, "#1");
Assert.AreEqual (typeof (WebMessageEncodingBindingElement), bc [0].GetType (), "#2");
Assert.AreEqual (typeof (HttpTransportBindingElement), bc [1].GetType (), "#3");
}