public void IProductSyncServiceIsRegisteredInBuilder()
        {
            var containerBuilder = new ContainerBuilder();
            var typeFinder       = Mock.Of <ITypeFinder>();
            var nopConfig        = Mock.Of <NopConfig>();
            var registrar        = new PayamGostarPluginDependencyRegistrar();

            registrar.Register(containerBuilder, typeFinder, nopConfig);
            var container = containerBuilder.Build(Autofac.Builder.ContainerBuildOptions.None);

            Assert.IsType <ProductSyncService>(container.Resolve <IProductSyncService>());
        }
        public void RegistrarOrderIsZero()
        {
            var registrar = new PayamGostarPluginDependencyRegistrar();

            Assert.Equal(0, registrar.Order);
        }