package com.amedet.api;

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

@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = AmedetApiApplication.class)
public class AmedetApiApplicationTests {

	@Test
	public void contextLoads() {
	}

}

package com.amedet.api;

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

//@RunWith(SpringJUnit4ClassRunner.class)
//@SpringApplicationConfiguration(classes = AmedetApiApplication.class)
public class AmedetApiApplicationTests {

	//@Test
	public void contextLoads() {
	}

}

Update AmedetApiApplicationTests.java