示例#1
0
        public void ComplexGuardInsideMethod_ValidResult_DoesNotThrow()
        {
            // Arrange
            var obj = new Foo();

            // Act/Assert
            Assert.DoesNotThrow(() =>
            {
                obj.TryGuard(new Bar());
            });
        }