public void TestEqualsFalse() { ServiceEntry serviceEntry0 = new ServiceEntry(typeof(IService), "SomeKey"); ServiceEntry serviceEntry1 = new ServiceEntry(typeof(IService1), "SomeKey"); bool equals = serviceEntry0.Equals(serviceEntry1); Assert.False(equals); }