move code to boot data module

This commit is contained in:
Loredana
2019-05-11 09:45:08 +03:00
parent fea110846f
commit 3c72fd0487
12 changed files with 0 additions and 103 deletions
@@ -0,0 +1,19 @@
package com.baeldung.jsonexception;
import org.junit.Test;
import com.baeldung.jsonexception.CustomException;
import com.baeldung.jsonexception.MainController;
public class MainControllerIntegrationTest {
@Test(expected = CustomException.class)
public void givenIndex_thenCustomException() throws CustomException {
MainController mainController = new MainController();
mainController.index();
}
}