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 {