PageRenderTime 12ms CodeModel.GetById 8ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 6package org.sigmah.server.bootstrap.model;
 7
 8import org.junit.Test;
 9
10import static org.junit.Assert.assertEquals;
11
12/**
13 * @author Alex Bertram
14 */
15public class PageModelTest {
16
17    @Test
18    public void testGetTemplateName() throws Exception {
19        assertEquals("page/Login.ftl", PageModel.getTemplateName(LoginPageModel.class));
20    }
21}