public void GetValue_NullInput_ArgumentNullException()
        {
            var orangeInvariant = new OrangeInvariant();

            var ex = Assert.Throws <ArgumentNullException>(() => orangeInvariant.GetValue(null));

            Assert.That(ex.ParamName, Is.EqualTo(GetValueInputParam));
        }
        public void GetValue_ReturnsCorrectValue()
        {
            const int FruitQuality    = 65;
            var       orange          = new Orange(FruitQuality);
            var       orangeInvariant = new OrangeInvariant();

            var value = orangeInvariant.GetValue(orange);

            Assert.That(value, Is.EqualTo(FruitQuality));
        }