Esempio n. 1
0
		public void TestNullKeyGet()
		{
			ICache cache = new VelocityClient();
			cache.Put("nunit", "value");
			Thread.Sleep(100);
			object item = cache.Get(null);
			Assert.ShouldNotBeNull(item);
		}
Esempio n. 2
0
		public void TestNullKeyRemove()
		{
			ICache cache = new VelocityClient();
			cache.Remove(null);
		}
Esempio n. 3
0
		public void TestNullValuePut()
		{
			ICache cache = new VelocityClient();
			cache.Put("nunit", null);
		}
Esempio n. 4
0
		public void TestNullKeyPut()
		{
			ICache cache = new VelocityClient();
			cache.Put(null, null);
		}
Esempio n. 5
0
		public void TestEmptyProperties()
		{
			ICache cache = new VelocityClient("nunit", new Dictionary<string, string>());
			Assert.IsNotNull(cache);
		}
Esempio n. 6
0
		public void TestNoPropertiesConstructor()
		{
			ICache cache = new VelocityClient("nunit");
			Assert.IsNotNull(cache);
		}
Esempio n. 7
0
		public void TestDefaultConstructor()
		{
			ICache cache = new VelocityClient();
			Assert.IsNotNull(cache);
		}