Exemple #1
0
        public static void GenerateInviations(string filePath)
        {
            IProvideCustomerRecords recordsProvider = new JsonFileProvider(filePath, new FileReader());
            IWriteInvitations invitationWriter = new ConsoleInvitationWriter();

            InvitationGenerator generator = new InvitationGenerator(recordsProvider, invitationWriter);

            generator.Generate(new Domain.Model.TerraLocation(53.3381985, -6.2592576), 100);
        }
 public virtual void SetUp()
 {
     _mockFileReader = new MockFileReader();
     _sut = new JsonFileProvider("file", _mockFileReader);
 }