package org.jenkins;

import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = JenkinsApplication.class)
@WebAppConfiguration
public class JenkinsApplicationTests {

	@Test
	public void contextLoads() {
		
		Assert.assertEquals("Mario", "MarioAlvarez");
	}

}

package org.jenkins;

import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = JenkinsApplication.class)
@WebAppConfiguration
public class JenkinsApplicationTests {

	@Test
	public void contextLoads() {
		
		Assert.assertEquals("Mario", "Mario");
	}

}

Add a succes test