public void EqualsShouldReturnFalseForInstancesWithSamePersonButDifferentJourneyIds() { var a = new LiftId(new Id(0), new Id(2)); var b = new LiftId(new Id(1), new Id(2)); var result = a.Equals(b); Assert.AreEqual(false, result); }
public void EqualsShouldReturnFalseForInstancesWhereSecondIsNotLiftId() { var a = new LiftId(new Id(0), new Id(1)); var b = new Id(0); var result = a.Equals(b); Assert.AreEqual(false, result); }
public void EqualsShouldReturnTrueForInstancesWithSameJourneyAndPersonIds() { var a = new LiftId(new Id(0), new Id(1)); var b = new LiftId(new Id(0), new Id(1)); var result = a.Equals(b); Assert.AreEqual(true, result); }