src/test/java/nl/bioinf/minorapplicationdesign/ontpillen/model/web_scraping/ApotheekWebScraperTest.java
/**
     * Method checks if ApotheekWebScraper adds a description to each drug substance
     * @throws IOException
     */
Method checks if ApotheekWebScraper adds a description to each drug substance
@throws IOException
Method checks if ApotheekWebScraper adds a description to each drug substance @throws IOException
@Test
    void parseHtml_DescriptionContainsItems() throws IOException {
        apotheekWebScraper.parseHtml();
        List<DrugSubstance> drugSubstances = drugDao.getDrugSubstances();
        for (DrugSubstance drugSubstance: drugSubstances) {
            assertNotNull(drugSubstance.getDescriptionPatient());
        }
    }
@ Test void parseHtml_DescriptionContainsItems ( ) throws IOException { apotheekWebScraper . parseHtml ( ) ; List < DrugSubstance > drugSubstances = drugDao . getDrugSubstances ( ) ; for ( DrugSubstance drugSubstance : drugSubstances ) { assertNotNull ( drugSubstance . getDescriptionPatient ( ) ) ; } }
Method checks if ApotheekWebScraper adds a description to each drug substance
 @throws IOException
Method checks if ApotheekWebScraper adds a description to each drug substance @throws IOException