public void AddAllToCatalogusAndCount() { if (_catalogus == null) { _catalogus = new HuurPandCatalogus(); } Assert.IsTrue(_catalogus.Count == 6); }
public void MaakCatalogusEnVoegPandenToe(Pand p) { if (_catalogus == null) { _catalogus = new HuurPandCatalogus(); } _catalogus.Add(p); Assert.IsTrue(_catalogus.Contains(p)); }
public RentAVillaRentingService() { PandBuilder = new PandBuilder(); //tested HuurPanden = new HuurPandCatalogus(); //tested ReservatieBoek = new ReservatieBoek(); //tested Promoties = new Promoties(); //tested PrijsOfferteBuilder = new PrijsOfferteBuilder(Promoties); //tested ReservatieBuilder = new ReservatieBuilder(PrijsOfferteBuilder); //tested KlantenBestand = new KlantenBestand(); //tested KlantCategorieën = new List <KlantCategorie>(); //tested AfroepContracten = new List <AfroepContract>(); //tested KlantBuilder = new KlantBuilder(KlantCategorieën); //tested }