``` given("A correct email adres") { beforeEa...
# spek
s
Copy code
given("A correct email adres") {

    beforeEach{ reset(mainView) }

    listOf("test@appfoundry.be", "ttest@fffff.org", "bbbb@bbbbb.com").forEach {
        it("$it should be shown as email") {
            mainPresenter.processText(it)
            verify(mainView, times(1)).showItem(any<Item>())
         }
    }
}