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

            Assert.IsNull(item.value);
            Assert.IsNull(item.obj);
        }
예제 #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());
        }
예제 #3
0
		/// <exception cref="System.Exception"></exception>
		protected override object CreateItem()
		{
			TAStringItem item = new TAStringItem();
			item.value = "42";
			item.obj = "hello";
			return item;
		}
예제 #4
0
        /// <exception cref="System.Exception"></exception>
        protected override object CreateItem()
        {
            TAStringItem item = new TAStringItem();

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