package com.github.havarunner.suite.sequential;

import com.github.havarunner.HavaRunner;
import org.junit.Test;

import static com.github.havarunner.TestHelper.run;
import static org.junit.Assert.assertEquals;

public class SequentialSuiteMembersTest {

    static Thread suiteMemberThread;

    @Test
    public void HavaRunner_runs_suite_members_sequentially_if_they_contain_the_RunSequentially_annotation() {
        run(new HavaRunner(Suite.class));
        assertEquals("main", suiteMemberThread.getName());
        System.out.println(suiteMemberThread);
    }
}

@@ -473,33 +473,30 @@
 als(
-%22main%22, suiteMember
+Thread.current
 Thread
+()
 .get
@@ -505,38 +505,10 @@
 me()
-);%0A        System.out.println(
+, 
 suit
@@ -520,16 +520,26 @@
 erThread
+.getName()
 );%0A    %7D

Make SequentialSuiteMembersTest less error-prone