public CoinFileToXmlMapperTests()
        {
            header = fixture.Create<CoinHeader>();
            trailer = fixture.Create<CoinTrailer>();
            items = fixture.CreateMany<CoinItem>();

            fixture.Register(() => new XElement(TestItem));

            coinFile = new CoinFile(header, trailer, items);
        }
 public CoinHeaderToXmlMapperTests()
 {
     fixture.Register(() => new XElement(TestRField));
     input = fixture.Create<CoinHeader>();
 }
Exemple #3
0
 public CoinFile(CoinHeader header, CoinTrailer trailer, IEnumerable<CoinItem> items)
 {
     Header = header;
     Trailer = trailer;
     Items = items;
 }