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>(); }
public SlugGenerator(SlugGeneratorOptions slugGeneratorOptions, ISlugStore slugStore, ISlugAlgorithm slugAlgorithm) { _slugStore = slugStore; _slugAlgorithm = slugAlgorithm; _slugGeneratorOptions = slugGeneratorOptions; }
public SlugGenerator(ISlugStore slugStore, ISlugAlgorithm slugAlgorithm) : this(new SlugGeneratorOptions(), slugStore, slugAlgorithm) { }
public SlugGenerator(ISlugStore slugStore) : this(slugStore, new DefaultSlugAlgorithm()) { }
public SlugGenerator(SlugGeneratorOptions slugGeneratorOptions, ISlugStore slugStore) : this(slugGeneratorOptions, slugStore, new DefaultSlugAlgorithm()) { }