public void can_archive_valid_Normalschein()
 {
     var schein = new Normalschein(new Normalfeld(1,2,3,4,5,6));
     Assert.That(schein.IsValid());
     Lotto.CurrentSpiel.Vorlage = schein;
     sut.archive();
     Assert.That(Lotto.CurrentSpiel.Scheine.Count, Is.EqualTo(1));
 }
        public void wont_archive_invalid_schein()
        {
            var schein = new Normalschein(new Normalfeld());
            Assert.That(!schein.IsValid());
            Lotto.CurrentSpiel.Vorlage = schein;
            sut.archive();
            Assert.That(Lotto.CurrentSpiel.Scheine.Count, Is.EqualTo(0));

            schein = new Normalschein();
            Assert.That(!schein.IsValid());
            Lotto.CurrentSpiel.Vorlage = schein;
            sut.archive();
            Assert.That(Lotto.CurrentSpiel.Scheine.Count, Is.EqualTo(0));
        }
        public void wont_archive_empty_Schein()
        {
            ISchein schein = new Normalschein();
            Assert.That(!schein.IsValid());
            Lotto.CurrentSpiel.Vorlage = schein;
            sut.archive();
            Assert.That(Lotto.CurrentSpiel.Scheine.Count, Is.EqualTo(0));

            schein = new Systemschein();
            Assert.That(!schein.IsValid());
            Lotto.CurrentSpiel.Vorlage = schein;
            sut.archive();
            Assert.That(Lotto.CurrentSpiel.Scheine.Count, Is.EqualTo(0));
        }