package com.bepsays.travis;

import org.junit.Rule;
import org.junit.Test;
import org.springframework.boot.test.OutputCapture;

import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;

public class TravisApplicationTests {

    @Rule
    public OutputCapture outputCapture = new OutputCapture();

    @Test
    public void startApplication() {
        TravisApplication.main(new String[] {});
        assertThat(getOutput(), containsString("Started TravisApplication"));
    }

    private String getOutput() {
        return this.outputCapture.toString();
    }

}
@@ -448,20 +448,17 @@
 ertThat(
-getO
+o
 utput(),
@@ -534,12 +534,9 @@
 ing 
-getO
+o
 utpu
@@ -595,8 +595,9 @@
     %7D%0A%0A%7D
+%0A

Update TravisApplicationTests.java