1
2
3
4 package org.melati.test;
5
6 import org.melati.Melati;
7 import org.melati.util.MelatiStringWriter;
8
9 import junit.framework.TestCase;
10
11
12
13
14
15
16 public class NotInSessionMelatiTest extends TestCase {
17
18
19
20
21 public NotInSessionMelatiTest(String name) {
22 super(name);
23 }
24
25
26
27
28 protected void setUp()
29 throws Exception {
30 super.setUp();
31 }
32
33
34
35
36 protected void tearDown()
37 throws Exception {
38 super.tearDown();
39 }
40
41
42
43
44
45 public void testGetUser() throws Exception {
46 Melati m = new Melati(null, new MelatiStringWriter());
47 assertNull(m.getUser());
48 }
49
50 }