public void SendMessage() { steps.LogIn(username1, password); steps.SendMessage(username2); steps.SignOut(); steps.LogIn(username2, password); steps.ReportMessageAsSpam(); steps.SignOut(); steps.LogIn(username1, password); steps.SendMessage(username2); steps.SignOut(); steps.LogIn(username2, password); steps.GoToSpamFolder(); steps.CheckUnreadLetterInSpamFolder(); Assert.AreEqual(username1, steps.GetFirstUserEmail()); }