@Step public void should_see_subject_and_exit(String subject) { dictionaryPage.openDraftFolder(); boolean isFound = false; if (dictionaryPage.getTitleOfEmail().equals(subject)) { isFound = true; } assertThat(isFound); dictionaryPage.quitFromMailBox(); }