Esempio n. 1
0
        public void AdjustExtensionMethod_WhenLeftArgumentIsNull_ThrowException()
        {
            Either <string, string> either = Left("Error.");

            Assert.Throws <ArgumentNullException>(() =>
                                                  either.Adjust(
                                                      left => null,
                                                      right => right));
        }