package havarunner.example;

import havarunner.HavaRunner;
import havarunner.annotation.RunSequentially;
import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.assertEquals;

@RunWith(HavaRunner.class)
@RunSequentially
public class SequantialExampleTest {

    @Test
    void this_test_is_run_in_the_main_thread() {
        assertEquals("main", Thread.currentThread().getName());
    }
}

@@ -159,54 +159,8 @@
 h;%0A%0A
-import static org.junit.Assert.assertEquals;%0A%0A
 @Run
@@ -280,23 +280,51 @@
 _in_
-the_main_thread
+sequence_with_the_other_tests_in_this_class
 () %7B
@@ -332,67 +332,102 @@
     
+%7D%0A%0A
     
-assertEquals(%22main%22, Thread.currentThread().getName());
+@Test%0A    void this_test_is_also_run_in_sequence_with_the_other_tests_in_this_class() %7B
 %0A   

Fix sequentiality test