@@ -0,0 +1,1186 @@
+package org.jsmpp.bean;%0A%0A%0Aimport static org.testng.Assert.assertEquals;%0A%0Aimport org.testng.annotations.Test;%0A%0A/**%0A * @author pmoerenhout%0A */%0Apublic class DataCodingsTest %7B%0A%0A  @Test%0A  public void testDataCodingsZero() %7B%0A    DataCoding dataCoding = DataCodings.ZERO;%0A    assertEquals(dataCoding.toByte(), (byte) 0x00);%0A  %7D%0A%0A  @Test%0A  public void testDataCodingsFactories() %7B%0A    for (int i = 0; i %3C 256; i++) %7B%0A      byte expected = (byte) (0xff & i);%0A      DataCoding dataCoding = DataCodings.newInstance(expected);%0A      if (i %3C 64) %7B%0A        assertEquals(DataCodings.newInstance(expected).getClass().getName(), %22org.jsmpp.bean.GeneralDataCoding%22);%0A      %7D%0A      else if (i %3C 192) %7B%0A        assertEquals(DataCodings.newInstance(expected).getClass().getName(), %22org.jsmpp.bean.RawDataCoding%22);%0A      %7D%0A      else if (i %3C 240) %7B%0A        assertEquals(DataCodings.newInstance(expected).getClass().getName(), %22org.jsmpp.bean.MessageWaitingDataCoding%22);%0A      %7D%0A      else %7B%0A        assertEquals(DataCodings.newInstance(expected).getClass().getName(), %22org.jsmpp.bean.SimpleDataCoding%22);%0A      %7D%0A%0A      if (i %3C 192) %7B%0A        assertEquals(dataCoding.toByte(), expected);%0A      %7D%0A    %7D%0A  %7D%0A%0A%0A%7D

Add DataCodings test.