/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

  1. /*
  2. * All Sigmah code is released under the GNU General Public License v3
  3. * See COPYRIGHT.txt and LICENSE.txt.
  4. */
  5. package org.sigmah.server.bootstrap.model;
  6. import org.junit.Test;
  7. import static org.junit.Assert.assertEquals;
  8. /**
  9. * @author Alex Bertram
  10. */
  11. public class PageModelTest {
  12. @Test
  13. public void testGetTemplateName() throws Exception {
  14. assertEquals("page/Login.ftl", PageModel.getTemplateName(LoginPageModel.class));
  15. }
  16. }