public void FunctionWith1Argument_AnnotatedWithOnMethodBoundaryAspectThatRaisesAnExceptionInMethodInvocationWithDefaultFlowBehaviour_ThrowsException()
        {
            var instance   = container.Resolve <IFunctionWith1ArgumentComposite>();
            var list       = new List <AspectJoinPoints>();
            var joinPoints = new InterceptionAspectOrderedJoinPoints();

            instance.OnMethodBoundaryAspectThatRaiseAnExceptionInMethodImpl(list);
        }
        public void FunctionWith1Argument_AnnotatedWithInterceptionAspect_ReturnsTheCorrectSequenceOfAdvices()
        {
            var instance   = container.Resolve <IFunctionWith1ArgumentComposite>();
            var list       = new List <AspectJoinPoints>();
            var joinPoints = new InterceptionAspectOrderedJoinPoints();
            var result     = instance.InterceptionAspect(list);

            CollectionAssert.AreEqual(list, joinPoints);
            Assert.AreEqual(result, new ReturnValueAspectOrderedJoinPoints(joinPoints).ToString());
        }