public void Where_on_Failure_returns_Failure() { var fail = new Failure<int>(new TestException()); var where = fail.Where(x => x > 10); Assert.IsTrue(where.IsFailure); Assert.IsInstanceOfType(typeof(TestException), where.Exception); }