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!", false);
    }

    //@Ignore
    @Test
    public void aFailingTest4() {
        doSomething();
    }

    @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() {
        doSomething();
    }

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

    @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");
        }
    }
}

@@ -538,36 +538,67 @@
 ) %7B%0A        
-doSomething(
+assertTrue(%22I expected this to pass!%22, true
 );%0A    %7D%0A%0A  
@@ -884,28 +884,59 @@
         
-doSomething(
+assertTrue(%22I expected this to pass!%22, true
 );%0A    %7D

Fix payment processor test failures