* @throws Exception
*
*/
@Test
public void initRootPackageName() throws Exception {
MockServletContext servletContext = new MockServletContext();
FrontController frontController = new FrontController();
frontController.servletContext = servletContext;
servletContext.setInitParameter(
ControllerConstants.ROOT_PACKAGE_KEY,
"aaa");
frontController.initRootPackageName();
assertThat(frontController.rootPackageName, is("aaa"));
}