public void DefaultParameterAspectTest()
        {
            var requestMock = new Mock <IRestRequest>(MockBehavior.Strict);

            var aspect = new GetInformationOfProjectRequestAspect();

            aspect.ApplyToRestRequest(requestMock.Object);

            requestMock.Verify();
            requestMock.VerifyNoOtherCalls();
        }
        public void ParameterAspectTest()
        {
            var requestMock = new Mock <IRestRequest>(MockBehavior.Strict);

            requestMock
            .Setup(i => i.AddParameter("expand", "plans.plan.branches"))
            .Returns(requestMock.Object)
            .Verifiable();

            var aspect = new GetInformationOfProjectRequestAspect();

            aspect.IncludePlanInformation(i => i.IncludeBranches());
            aspect.ApplyToRestRequest(requestMock.Object);

            requestMock.Verify();
            requestMock.VerifyNoOtherCalls();
        }