public void TraceMessageOnTargetPropertyNotFound_Test() {
     MBBTraceListener listener = new MBBTraceListener();
     Trace.Listeners.Add(listener);
     PrepareBehavior("Data_", "GetA", View, new MBBObject());
     Assert.IsTrue(listener.Output.Contains("error: Cannot find property with name Data_ in the MBBControl class."));
     Trace.Listeners.Remove(listener);
     listener.Dispose();
 }
 public void TraceMessageOnSourceMethodNotFound_Test() {
     MBBTraceListener listener = new MBBTraceListener();
     Trace.Listeners.Add(listener);
     PrepareBehavior("Data", "GetABC", View, new MBBObject());
     Assert.IsTrue(listener.Output.Contains("error: Cannot find function with name GetABC in the MBBObject class."));
     Trace.Listeners.Remove(listener);
     listener.Dispose();
 }
        public void TraceMessageOnTargetPropertyNotFound_Test()
        {
            MBBTraceListener listener = new MBBTraceListener();

            Trace.Listeners.Add(listener);
            PrepareBehavior("Data_", "GetA", View, new MBBObject());
            Assert.IsTrue(listener.Output.Contains("error: Cannot find property with name Data_ in the MBBControl class."));
            Trace.Listeners.Remove(listener);
            listener.Dispose();
        }
        public void TraceMessageOnSourceMethodNotFound_Test()
        {
            MBBTraceListener listener = new MBBTraceListener();

            Trace.Listeners.Add(listener);
            PrepareBehavior("Data", "GetABC", View, new MBBObject());
            Assert.IsTrue(listener.Output.Contains("error: Cannot find function with name GetABC in the MBBObject class."));
            Trace.Listeners.Remove(listener);
            listener.Dispose();
        }