|
@ -0,0 +1,33 @@ |
|
|
|
|
|
// Pekka Helenius <fincer89@hotmail.com>, Fjordtek 2020 |
|
|
|
|
|
|
|
|
|
|
|
package com.fjordtek.bookstore.web.rest; |
|
|
|
|
|
|
|
|
|
|
|
import static org.assertj.core.api.Assertions.assertThat; |
|
|
|
|
|
|
|
|
|
|
|
import org.junit.Test; |
|
|
|
|
|
import org.junit.runner.RunWith; |
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
|
import org.springframework.boot.test.context.SpringBootTest; |
|
|
|
|
|
import org.springframework.test.context.junit4.SpringRunner; |
|
|
|
|
|
|
|
|
|
|
|
import com.fjordtek.bookstore.web.BookBasePathAwareController; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* |
|
|
|
|
|
* TODO: N/A |
|
|
|
|
|
* |
|
|
|
|
|
* @author Pekka Helenius |
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@RunWith(SpringRunner.class) |
|
|
|
|
|
@SpringBootTest |
|
|
|
|
|
public class BookBasePathAwareControllerTest { |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private BookBasePathAwareController bookBasePathAwareController; |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|
public void contextLoads() throws Exception { |
|
|
|
|
|
assertThat(bookBasePathAwareController).isNotNull(); |
|
|
|
|
|
} |
|
|
|
|
|
} |