/**
* An email that has been intercepted.
*/
- public class TestMail {
+ public static class TestMail {
String to;
}
public void verify() throws IOException {
- String[] parts = extractLink().split("\\?");
+ String link = extractLink();
+ String[] parts = link.split("\\?");
URL u = new URL("https://" + ManagedTest.getServerName() + "/verify?" + parts[1]);
URLConnection csrfConn = u.openConnection();