Пример #1
0
        public void SetUp()
        {
            _fakerContainer  = A.Fake <IFakerContainer>();
            _slackEmojiFaker = new SlackEmojiFaker(_fakerContainer);

            A.CallTo(() => _fakerContainer.Fake).Returns(new FakeFaker(_fakerContainer));
        }
Пример #2
0
 public FakerContainer()
 {
     Address        = new AddressFaker(this);
     Ancient        = new AncientFaker(this);
     App            = new AppFaker(this);
     Avatar         = new AvatarFaker(this);
     Beer           = new BeerFaker(this);
     Book           = new BookFaker(this);
     Boolean        = new BooleanFaker();
     Business       = new BusinessFaker(this);
     Cat            = new CatFaker(this);
     ChuckNorris    = new ChuckNorrisFaker(this);
     Coffee         = new CoffeeFaker(this);
     Color          = new ColorFaker(this);
     Company        = new CompanyFaker(this);
     Date           = new DateFaker();
     DragonBall     = new DragonBallFaker(this);
     Educator       = new EducatorFaker(this);
     Fake           = new FakeFaker(this);
     File           = new FileFaker(this);
     Fillmurray     = new FillmurrayFaker();
     Food           = new FoodFaker(this);
     Friends        = new FriendsFaker(this);
     GameOfThrones  = new GameOfThronesFaker(this);
     Hacker         = new HackerFaker(this);
     HarryPotter    = new HarryPotterFaker(this);
     Internet       = new InternetFaker(this);
     LordOfTheRings = new LordOfTheRingsFaker(this);
     Lorem          = new LoremFaker(this);
     Music          = new MusicFaker(this);
     Name           = new NameFaker(this);
     Number         = new NumberFaker();
     PhoneNumber    = new PhoneNumberFaker(this);
     Placeholdit    = new PlaceholditFaker(this);
     Pokemon        = new PokemonFaker(this);
     Random         = new RandomFaker();
     RickAndMorty   = new RickAndMortyFaker(this);
     RockBand       = new RockBandFaker(this);
     SlackEmoji     = new SlackEmojiFaker(this);
     Space          = new SpaceFaker(this);
     StarWars       = new StarWarsFaker(this);
     Superhero      = new SuperheroFaker(this);
     Team           = new TeamFaker(this);
     Time           = new TimeFaker();
     TwinPeaks      = new TwinPeaksFaker(this);
     University     = new UniversityFaker(this);
     Vehicle        = new VehicleFaker(this);
     Zelda          = new ZeldaFaker(this);
 }