public void AbsoluteValueOfNullReferenceThrowsException() { IQuantity quantity = null; Assert.Throws <NullReferenceException>(() => quantity.Abs()); }