@@ -0,0 +1,1551 @@
+package org.jsmpp.bean;%0A%0Aimport static org.testng.Assert.assertEquals;%0A%0Aimport org.testng.annotations.Test;%0A%0A/**%0A * @author pmoerenhout%0A */%0Apublic class GeneralDataCodingTest %7B%0A%0A  @Test%0A  public void testGeneralAlphabetDefault() %7B%0A    DataCoding dataCoding = new GeneralDataCoding(Alphabet.ALPHA_DEFAULT);%0A    assertEquals(dataCoding.toByte(), (byte) 0x00);%0A  %7D%0A%0A  @Test%0A  public void testGeneralAlphabetIA5() %7B%0A    DataCoding dataCoding = new GeneralDataCoding(Alphabet.ALPHA_IA5);%0A    assertEquals(dataCoding.toByte(), (byte) 0x01);%0A  %7D%0A%0A  @Test%0A  public void testGeneralAlphabetUcs2() %7B%0A    DataCoding dataCoding = new GeneralDataCoding(Alphabet.ALPHA_UCS2);%0A    assertEquals(dataCoding.toByte(), (byte) 0x08);%0A  %7D%0A%0A  @Test%0A  public void testGeneralFlash() %7B%0A    DataCoding dataCoding = new GeneralDataCoding(Alphabet.ALPHA_DEFAULT, MessageClass.CLASS0, false);%0A    assertEquals(dataCoding.toByte(), (byte) 0x10);%0A  %7D%0A%0A  @Test%0A  public void testGeneralMeSpecific() %7B%0A    DataCoding dataCoding = new GeneralDataCoding(Alphabet.ALPHA_DEFAULT, MessageClass.CLASS1, false);%0A    assertEquals(dataCoding.toByte(), (byte) 0x11);%0A  %7D%0A%0A  @Test%0A  public void testGeneralSimUsimSpecific() %7B%0A    DataCoding dataCoding = new GeneralDataCoding(Alphabet.ALPHA_DEFAULT, MessageClass.CLASS2, false);%0A    assertEquals(dataCoding.toByte(), (byte) 0x12);%0A  %7D%0A%0A  @Test%0A  public void testGeneralTeSpecific() %7B%0A    DataCoding dataCoding = new GeneralDataCoding(Alphabet.ALPHA_DEFAULT, MessageClass.CLASS3, false);%0A    assertEquals(dataCoding.toByte(), (byte) 0x13);%0A  %7D%0A%7D

Add GeneralDataCoding tests.