protected override void AssertItemValue(object obj)
        {
            StringItem item = (StringItem)obj;

            Assert.AreEqual("42", item.Value());
            Assert.AreEqual("hello", item.Object());
        }
Ejemplo n.º 2
0
		protected override object CreateItem()
		{
			StringItem item = new StringItem();
			item.value = "42";
			item.obj = "hello";
			return item;
		}
        protected override object CreateItem()
        {
            StringItem item = new StringItem();

            item.value = "42";
            item.obj   = "hello";
            return(item);
        }