simon.vergauwen
09/13/2016, 6:57 PMgiven("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>())
}
}
}