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() {
         assertTrue("I expected this to pass!", true);
    }

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

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

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

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

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

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

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

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

@@ -545,52 +545,20 @@
     
- assertTrue(%22I expected this to pass!%22, true
+doSomething(
 );%0A 
@@ -856,52 +856,20 @@
     
- assertTrue(%22I expected this to pass!%22, true
+doSomething(
 );%0A 
@@ -1106,32 +1106,32 @@
 assingTest4() %7B%0A
-
          assertT
@@ -1158,11 +1158,366 @@
 );%0A    %7D
+%0A%0A    private void doSomething() %7B%0A        interesting();%0A    %7D%0A    private void interesting() %7B%0A        RubeGoldburgMachine machine = new RubeGoldburgMachine();%0A        machine.processPayment();%0A    %7D%0A%0A    private class RubeGoldburgMachine %7B%0A        void processPayment() %7B%0A            throw new IllegalStateException(%22bad payment code%22);%0A        %7D%0A    %7D
 %0A%7D%0A

Improve the payment processor