/sigmah/src/test/java/org/sigmah/server/bootstrap/model/PageModelTest.java
http://sigma-h.googlecode.com/ · Java · 21 lines · 9 code · 5 blank · 7 comment · 0 complexity · af58238a673082c761d85165a8515bee MD5 · raw file
- /*
- * All Sigmah code is released under the GNU General Public License v3
- * See COPYRIGHT.txt and LICENSE.txt.
- */
-
- package org.sigmah.server.bootstrap.model;
-
- import org.junit.Test;
-
- import static org.junit.Assert.assertEquals;
-
- /**
- * @author Alex Bertram
- */
- public class PageModelTest {
-
- @Test
- public void testGetTemplateName() throws Exception {
- assertEquals("page/Login.ftl", PageModel.getTemplateName(LoginPageModel.class));
- }
- }