optional.Match( Some: v => Assert.IsTrue(v == 123), None: () => failwith<int>("Shouldn't get here") );