Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public CoinHeaderToXmlMapperTests()
 {
     fixture.Register(() => new XElement(TestRField));
     input = fixture.Create<CoinHeader>();
 }
Ejemplo n.º 3
0
 public CoinFile(CoinHeader header, CoinTrailer trailer, IEnumerable<CoinItem> items)
 {
     Header = header;
     Trailer = trailer;
     Items = items;
 }