Esempio n. 1
0
		public void Equals_TwoContextWithDifferentName_AreNotEqual() {
			var context1 = new Context("contextname1");
			var context2 = new Context("contextname2");
			Assert.False(context1.Equals(context2));
		}
Esempio n. 2
0
		public void Equals_ComparingContextWithNonContext_AreNotEqual() {
			var context = new Context("contextname");
			Assert.False(context.Equals(true));
		}
Esempio n. 3
0
		public void Equals_TwoContextWithSameName_AreEqual() {
			var context1 = new Context("contextname");
			var context2 = new Context("contextname");
			Assert.True(context1.Equals(context2));
		}