3 import org.junit.Assert;
4 import org.junit.Before;
6 import org.pcmm.gates.IPCMMError;
7 import org.pcmm.gates.impl.PCMMError;
9 public class PCErrorTest {
15 error = new PCMMError();
16 error.setErrorCode((short) 1);
20 public void testGetDescription() {
21 for (IPCMMError.Description d : IPCMMError.Description.values()) {
22 error.setErrorCode(d.getCode());
23 Assert.assertNotNull(error.getDescription());
24 System.out.println(error.getDescription());