Package org.jsmpp.bean.OptionalParameter

Examples of org.jsmpp.bean.OptionalParameter.Ms_msg_wait_facilities


        }
    }
   
    @Test
    public void ms_msg_wait_facilities() {
      Ms_msg_wait_facilities o = new OptionalParameter.Ms_msg_wait_facilities((byte)0x81);
     
      assertTrue(o.isIndicatorActive());
      assertEquals(o.getMessageType(), Ms_msg_wait_facilities_type.FAX_MESSAGE_WAITING);
     
      o = new OptionalParameter.Ms_msg_wait_facilities((byte)0x00);
      assertEquals(o.getMessageType(), Ms_msg_wait_facilities_type.VOICEMAIL_MESSAGE_WAITING);
      assertFalse(o.isIndicatorActive());
     
      o = new OptionalParameter.Ms_msg_wait_facilities(true, Ms_msg_wait_facilities_type.FAX_MESSAGE_WAITING);
      assertEquals(o.getMessageType(), Ms_msg_wait_facilities_type.FAX_MESSAGE_WAITING);
      assertTrue(o.isIndicatorActive());
      assertEquals(o.getValue(), (byte)0x81);
    }
View Full Code Here

TOP

Related Classes of org.jsmpp.bean.OptionalParameter.Ms_msg_wait_facilities

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.