public void NoInvocationsMatchesTest()
        {
            //Arrange
            var sut        = new NeverApplyAdvice();
            var invocation = new TestInvocation();

            //Act
            var invocationMatches = sut.IsApplicableFor(invocation);

            //Assert
            Assert.IsFalse(invocationMatches);
        }
        public void NoInvocationsMatchesTest()
        {
            //Arrange
            var sut = new NeverApplyAdvice();
            var invocation = new TestInvocation();

            //Act
            var invocationMatches = sut.IsApplicableFor(invocation);

            //Assert
            Assert.IsFalse(invocationMatches);
        }
        public void NoTypesMatchesTest()
        {
            //Arrange
            var sut = new NeverApplyAdvice();

            //Act
            var thisTypeMatches = sut.IsApplicableFor(GetType());
            var voidMatches     = sut.IsApplicableFor(typeof(void));

            //Assert
            Assert.IsFalse(thisTypeMatches);
            Assert.IsFalse(voidMatches);
        }
        public void NoTypesMatchesTest()
        {
            //Arrange
            var sut = new NeverApplyAdvice();

            //Act
            var thisTypeMatches = sut.IsApplicableFor(GetType());
            var voidMatches = sut.IsApplicableFor(typeof(void));

            //Assert
            Assert.IsFalse(thisTypeMatches);
            Assert.IsFalse(voidMatches);
        }