Exemple #1
0
        public void ProxyFluentDecoratorStrategyConfiguration_WithCtorParam_Two(IFluentDecoratorStrategyConfiguration strategy, ProxyFluentDecoratorStrategyConfiguration configuration)
        {
            Func <int, string, IBasicService> func = (i, s) => new BasicService();

            configuration.WithCtorParam(func);

            strategy.Received().WithCtorParam(func);
        }
Exemple #2
0
        public void ProxyFluentDecoratorStrategyConfiguration_WithCtorParam_Five(IFluentDecoratorStrategyConfiguration strategy, ProxyFluentDecoratorStrategyConfiguration configuration)
        {
            Func <int, string, double, float, byte, IBasicService> func = (i, s, d, f, b) => new BasicService();

            configuration.WithCtorParam(func);

            strategy.Received().WithCtorParam(func);
        }
Exemple #3
0
        public void ProxyFluentDecoratorStrategyConfiguration_WithCtorParam(IFluentDecoratorStrategyConfiguration strategy, ProxyFluentDecoratorStrategyConfiguration configuration)
        {
            configuration.WithCtorParam <IBasicService>();

            strategy.Received().WithCtorParam <IBasicService>();
        }