simon.vergauwen
09/13/2016, 6:58 PMgiven("A correct email adres") {
listOf("<mailto:test@appfoundry.be|test@appfoundry.be>", "<mailto:ttest@fffff.org|ttest@fffff.org>", "<mailto:bbbb@bbbbb.com|bbbb@bbbbb.com>").forEach {
reset(mainView)
it("$it should be shown as email") {
mainPresenter.processText(it)
verify(mainView, times(1)).showItem(any<Item>())
}
}
}