Exemplo n.º 1
0
        public void OneTimeSetUp()
        {
            _fakeSlugStore     = A.Fake <ISlugStore>();
            _fakeSlugAlgorithm = A.Fake <ISlugAlgorithm>();

            _slugGenerator = new SlugGenerator(_fakeSlugStore, _fakeSlugAlgorithm);
        }
 public void OneTimeSetUp()
 {
     _fakeSlugStore     = A.Fake <ISlugStore>();
     _fakeSlugAlgorithm = A.Fake <ISlugAlgorithm>();
 }
Exemplo n.º 3
0
 public SlugGenerator(SlugGeneratorOptions slugGeneratorOptions, ISlugStore slugStore, ISlugAlgorithm slugAlgorithm)
 {
     _slugStore            = slugStore;
     _slugAlgorithm        = slugAlgorithm;
     _slugGeneratorOptions = slugGeneratorOptions;
 }
Exemplo n.º 4
0
 public SlugGenerator(ISlugStore slugStore, ISlugAlgorithm slugAlgorithm)
     : this(new SlugGeneratorOptions(), slugStore, slugAlgorithm)
 {
 }
Exemplo n.º 5
0
 public SlugGenerator(ISlugStore slugStore)
     : this(slugStore, new DefaultSlugAlgorithm())
 {
 }
Exemplo n.º 6
0
 public SlugGenerator(SlugGeneratorOptions slugGeneratorOptions, ISlugStore slugStore)
     : this(slugGeneratorOptions, slugStore, new DefaultSlugAlgorithm())
 {
 }