1 package net.jaekl.cfb.xml.messages;
3 import static org.junit.Assert.*;
7 public class BugPatternTest {
10 public void testGetUninitializedVariables() {
11 BugPattern pat = new BugPattern();
13 assertEquals((-1), pat.getId());
14 assertEquals("", pat.getDetails());
15 assertEquals("", pat.getLong());
16 assertEquals("", pat.getShort());
20 public void testGetUnknown() {
21 BugPattern pat = BugPattern.UNKNOWN;
23 assertEquals((-2), pat.getId());
24 assertEquals("", pat.getDetails());
25 assertEquals("", pat.getLong());
26 assertEquals("", pat.getShort());