public void Given0GallonAndNull_ShouldReturnsNotEqual()
 {
     try
     {
         double  firstGallonValue  = gallon.ConvertValueToInch(Volumes.Unit.GALLON, 0.0);
         Volumes secondGallonValue = null;
         Assert.AreNotEqual(firstGallonValue, secondGallonValue);
     }
     catch (QualityMeaurementException e)
     {
         Assert.AreEqual(QualityMeaurementException.ExceptionType.INVALID_ARGUMENT, e.Type);
     }
 }
 public void GivenTwoObjects_WhenCheckReference_ShouldReturnFalse()
 {
     try
     {
         Volumes firstObject  = new Volumes();
         Volumes secondObject = new Volumes();
         bool    areEqual     = System.Object.ReferenceEquals(firstObject, secondObject);
         Assert.IsFalse(areEqual);
     }
     catch (QualityMeaurementException e)
     {
         Assert.AreEqual(QualityMeaurementException.ExceptionType.INVALID_ARGUMENT, e.Type);
     }
 }
 public void Setup()
 {
     this.litre     = new Volumes();
     this.gallon    = new Volumes();
     this.miliLitre = new Volumes();
 }