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

    beforeEach{ reset(mainView) }

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