@Test
public void testStart() throws NoresourceError, IOException, Exception {

    final SipCallManager manager = new SipCallManager();
    final SipServer server = new SipServer();
    manager.setSipServer(server);
    server.setDialogService(manager);
    server.setMySipAddress("sip:127.0.0.1:4245");
    server.setPort(4245);
    server.setCairoSipAddress("sip:cairo@speechforge.org");
    server.setCairoSipHostName("127.0.0.1");
    server.setCairoSipPort(5050);
    server.setStackName("Mrcpv2SessionManager");
    server.setTransport("UDP");
    Assert.assertFalse(manager.isStarted());
    manager.start();
    Assert.assertTrue(manager.isStarted());
    manager.stop();
    Assert.assertFalse(manager.isStarted());
}