JUnit Test 예제
https://github.com/audtjddld/angularjs-springboot-jpa-example
계속해서 작성중이다. 모자란 부분은 추후 작성 예정.
return 되는 컨텐츠를 받는 방법은 ObjectMapper를 이용하여 값을 생성하는 방법이 있다.
ObjectMapper om = new ObjectMapper(); AuthToken authToken = om.readValue(content, AuthToken.class); —————————————— 2016.06.22 추가 ————————————————
matcher 부분
http://tutorials.jenkov.com/java-unit-testing/matchers.html
This article is licensed under CC BY 4.0 by the author.