package appstore;

import static org.junit.Assert.*;

import org.junit.Ignore;
import org.junit.Test;

public class TestThisWillFailAbunch {
    @Test
    public void aFailingTest() {
         assertTrue("I expected this to pass!", true);
    }

    @Ignore
    @Test
    public void aFailingTest2() {
        doSomething();
//         assertTrue("I expected this to pass!", true);
    }

    @Ignore
    @Test
    public void aFailingTest3() {
        doSomething();
    }

    //@Ignore
    @Test
    public void aFailingTest4() {
//        doSomething();
        assertTrue("I expected this to pass!", true);
    }

    @Ignore
    @Test
    public void aNewFailingTest31() {
         doSomething();
    }

    @Test
    public void aNotherNewFailingTest4() {
        doSomething();
//         assertTrue("I expected this to pass!", true);
    }

    @Test
    public void aFailingTest5() {
        doSomething();
//        assertTrue("I expected this to pass!", true);
    }

    @Test
    public void aFailingTest6() {
        doSomething();
//         assertTrue("I expected this to pass!", true);
    }

    @Test
    public void aPassingTest3() {
         assertTrue("Success!", true);
    }

    @Test
    public void aPassingTest4() {
         assertTrue("Success!", true);
    }

    private void doSomething() {
        interesting();
    }
    private void interesting() {
        RubeGoldburgMachine machine = new RubeGoldburgMachine();
        machine.processPayment();
    }

    private class RubeGoldburgMachine {
        void processPayment() {
            throw new IllegalStateException("bad payment code");
        }
    }
}

@@ -294,32 +294,35 @@
 est2() %7B%0A       
+ //
  doSomething();%0A
@@ -313,35 +313,32 @@
  doSomething();%0A
-// 
         assertTr
@@ -437,32 +437,35 @@
 est3() %7B%0A       
+ //
  doSomething();%0A
@@ -456,32 +456,86 @@
  doSomething();%0A
+        assertTrue(%22I expected this to pass!%22, true);%0A
     %7D%0A%0A    //@Ig
@@ -583,24 +583,24 @@
 st4() %7B%0A
-//
       
+//
   doSome
@@ -731,25 +731,26 @@
 1() %7B%0A      
- 
+//
   doSomethin
@@ -750,24 +750,78 @@
 omething();%0A
+        assertTrue(%22I expected this to pass!%22, true);%0A
     %7D%0A%0A    @
@@ -867,32 +867,35 @@
 est4() %7B%0A       
+ //
  doSomething();%0A
@@ -886,35 +886,32 @@
  doSomething();%0A
-// 
         assertTr
@@ -998,32 +998,35 @@
 est5() %7B%0A       
+ //
  doSomething();%0A
@@ -1021,27 +1021,24 @@
 omething();%0A
-// 
        asser
@@ -1136,16 +1136,19 @@
 %0A       
+ //
  doSomet
@@ -1155,19 +1155,16 @@
 hing();%0A
-// 
         

Fix test failures