├── .gitignore ├── LICENSE ├── README.md ├── pom.xml └── src ├── main ├── java │ └── org │ │ └── royrusso │ │ └── mvc │ │ ├── controller │ │ ├── DefaultController.java │ │ └── UserController.java │ │ ├── domain │ │ └── User.java │ │ ├── rest │ │ ├── RestResponse.java │ │ └── UnknownResourceException.java │ │ └── service │ │ ├── UserService.java │ │ └── impl │ │ └── UserServiceImpl.java └── webapp │ └── WEB-INF │ ├── dispatcher-servlet.xml │ └── web.xml └── test ├── java └── org │ └── royrusso │ └── mvc │ └── controller │ ├── TestUtil.java │ └── UserControllerTest.java └── resources └── test-context.xml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/README.md -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/org/royrusso/mvc/controller/DefaultController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/java/org/royrusso/mvc/controller/DefaultController.java -------------------------------------------------------------------------------- /src/main/java/org/royrusso/mvc/controller/UserController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/java/org/royrusso/mvc/controller/UserController.java -------------------------------------------------------------------------------- /src/main/java/org/royrusso/mvc/domain/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/java/org/royrusso/mvc/domain/User.java -------------------------------------------------------------------------------- /src/main/java/org/royrusso/mvc/rest/RestResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/java/org/royrusso/mvc/rest/RestResponse.java -------------------------------------------------------------------------------- /src/main/java/org/royrusso/mvc/rest/UnknownResourceException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/java/org/royrusso/mvc/rest/UnknownResourceException.java -------------------------------------------------------------------------------- /src/main/java/org/royrusso/mvc/service/UserService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/java/org/royrusso/mvc/service/UserService.java -------------------------------------------------------------------------------- /src/main/java/org/royrusso/mvc/service/impl/UserServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/java/org/royrusso/mvc/service/impl/UserServiceImpl.java -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/dispatcher-servlet.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/webapp/WEB-INF/dispatcher-servlet.xml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/main/webapp/WEB-INF/web.xml -------------------------------------------------------------------------------- /src/test/java/org/royrusso/mvc/controller/TestUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/test/java/org/royrusso/mvc/controller/TestUtil.java -------------------------------------------------------------------------------- /src/test/java/org/royrusso/mvc/controller/UserControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/test/java/org/royrusso/mvc/controller/UserControllerTest.java -------------------------------------------------------------------------------- /src/test/resources/test-context.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/royrusso/spring-mvc-rest-mockito/HEAD/src/test/resources/test-context.xml --------------------------------------------------------------------------------