Example #1
0
        protected override void AssertRetrievedItem(object obj)
        {
            TAStringItem item = (TAStringItem)obj;

            Assert.IsNull(item.value);
            Assert.IsNull(item.obj);
        }
Example #2
0
        /// <exception cref="System.Exception"></exception>
        protected override void AssertItemValue(object obj)
        {
            TAStringItem item = (TAStringItem)obj;

            Assert.AreEqual("42", item.Value());
            Assert.AreEqual("hello", item.Object());
        }
Example #3
0
		/// <exception cref="System.Exception"></exception>
		protected override object CreateItem()
		{
			TAStringItem item = new TAStringItem();
			item.value = "42";
			item.obj = "hello";
			return item;
		}
Example #4
0
        /// <exception cref="System.Exception"></exception>
        protected override object CreateItem()
        {
            TAStringItem item = new TAStringItem();

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