[Category("NotDotNet")] // .NET doesn't use ResolveAdapter in this case
        public void PerformDataBinding_UsesAdapter()
        {
            MyHierarchicalDataBoundControl        c = new MyHierarchicalDataBoundControl();
            MyHierarchicalDataBoundControlAdapter a = new MyHierarchicalDataBoundControlAdapter();;

            c.controlAdapter = a;
            c.DataBind();
            Assert.IsTrue(a.perform_data_binding_called, "PerformDataBinding_UsesAdapter");
        }
		[Category ("NotDotNet")] // .NET doesn't use ResolveAdapter in this case
		public void PerformDataBinding_UsesAdapter ()
		{
			MyHierarchicalDataBoundControl c = new MyHierarchicalDataBoundControl ();
			MyHierarchicalDataBoundControlAdapter a = new MyHierarchicalDataBoundControlAdapter();;
			c.controlAdapter = a;
			c.DataBind ();
			Assert.IsTrue (a.perform_data_binding_called, "PerformDataBinding_UsesAdapter");
		}
		public void SetUp ()
		{
			c = new MyHierarchicalDataBoundControl ();
			a = new MyHierarchicalDataBoundControlAdapter (c);
		}
 public void SetUp()
 {
     c = new MyHierarchicalDataBoundControl();
     a = new MyHierarchicalDataBoundControlAdapter(c);
 }