Add extra files that should have been included in the previous commit.
[cfb.git] / test / net / jaekl / cfb / xml / messages / BugPatternTest.java
1 package net.jaekl.cfb.xml.messages;
2
3 import static org.junit.Assert.*;
4
5 import org.junit.Test;
6
7 public class BugPatternTest {
8
9         @Test
10         public void testGetUninitializedVariables() {
11                 BugPattern pat = new BugPattern();
12                 
13                 assertEquals((-1), pat.getId());
14                 assertEquals("", pat.getDetails());
15                 assertEquals("", pat.getLong());
16                 assertEquals("", pat.getShort());
17         }
18         
19         @Test
20         public void testGetUnknown() {
21                 BugPattern pat = BugPattern.UNKNOWN;
22                 
23                 assertEquals((-2), pat.getId());
24                 assertEquals("", pat.getDetails());
25                 assertEquals("", pat.getLong());
26                 assertEquals("", pat.getShort());
27         }
28 }