public void can_save()
 {
     ISchein schein = new Normalschein( new Normalfeld( 1, 2, 3, 4, 5, 6));
     IAuftrag auftrag = new Auftrag(schein);
     ATipp tipp = new Tipp(schein.Tippfelder[0].Tippzahlen.ToArray());
     sut = new IndexedTipp(auftrag, tipp, schein.Tippfelder[0].Index);
     s1.Save(auftrag);
     s1.Save(tipp);
     s1.Save(sut);
     s1.Flush();
 }
 public void ctor()
 {
     ISchein schein = new Normalschein( new Normalfeld( 1, 2, 3, 4, 5, 6));
     IAuftrag auftrag = new Auftrag(schein);
     ATipp tipp = new Tipp(schein.Tippfelder[0].Tippzahlen.ToArray());
     sut = new IndexedTipp(auftrag, tipp, schein.Tippfelder[0].Index);
     Assert.That(sut.Idx, Is.EqualTo(schein.Tippfelder[0].Index));
     Assert.That(sut.Tipp.SID, Is.EqualTo(schein.Tippfelder[0].SID));
     Assert.That(
         Stringifier.stringify(sut.Tipp.Tippzahlen), Is.EqualTo(
         Stringifier.stringify(schein.Tippfelder[0].Tippzahlen)));
 }