Esempio n. 1
0
		public void genericKey_toString_with_null_value()
		{
			String expected = "";

			Key<String> key = new Key<String>( null );
			String actual = key.ToString();

			Assert.AreEqual<String>( expected, actual );
		}
Esempio n. 2
0
		public void genericKey_toString_with_non_null_value()
		{
			Int32 value = 12;
			String expected = value.ToString();

			Key<Int32> key = new Key<Int32>( value );
			String actual = key.ToString();

			Assert.AreEqual<String>( expected, actual );
		}