Package org.mokai.persist.jdbc.sms

Examples of org.mokai.persist.jdbc.sms.ConnectionsSmsHandler.supportsDirection()


    } catch (Exception e) {}
  }

  public void testSupportsOutboundDirection() throws Exception {
    ConnectionsSmsHandler handler = new ConnectionsSmsHandler();
    Assert.assertTrue(handler.supportsDirection(Direction.TO_CONNECTIONS));
    Assert.assertFalse(handler.supportsDirection(Direction.TO_APPLICATIONS));
    Assert.assertFalse(handler.supportsDirection(Direction.UNKNOWN));
    Assert.assertFalse(handler.supportsDirection(null));
  }
View Full Code Here


  }

  public void testSupportsOutboundDirection() throws Exception {
    ConnectionsSmsHandler handler = new ConnectionsSmsHandler();
    Assert.assertTrue(handler.supportsDirection(Direction.TO_CONNECTIONS));
    Assert.assertFalse(handler.supportsDirection(Direction.TO_APPLICATIONS));
    Assert.assertFalse(handler.supportsDirection(Direction.UNKNOWN));
    Assert.assertFalse(handler.supportsDirection(null));
  }

  @Test
View Full Code Here

  public void testSupportsOutboundDirection() throws Exception {
    ConnectionsSmsHandler handler = new ConnectionsSmsHandler();
    Assert.assertTrue(handler.supportsDirection(Direction.TO_CONNECTIONS));
    Assert.assertFalse(handler.supportsDirection(Direction.TO_APPLICATIONS));
    Assert.assertFalse(handler.supportsDirection(Direction.UNKNOWN));
    Assert.assertFalse(handler.supportsDirection(null));
  }

  @Test
  public void testInsertMessage() throws Exception {
View Full Code Here

  public void testSupportsOutboundDirection() throws Exception {
    ConnectionsSmsHandler handler = new ConnectionsSmsHandler();
    Assert.assertTrue(handler.supportsDirection(Direction.TO_CONNECTIONS));
    Assert.assertFalse(handler.supportsDirection(Direction.TO_APPLICATIONS));
    Assert.assertFalse(handler.supportsDirection(Direction.UNKNOWN));
    Assert.assertFalse(handler.supportsDirection(null));
  }

  @Test
  public void testInsertMessage() throws Exception {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.