public void testSetup() throws IOException {
handler = new LttngLogHandler();
- session = ILttngSession.newCommandLineSession(null, Domain.JUL);
+ session = ILttngSession.createSession(null, Domain.JUL);
assertTrue(session.enableAllEvents());
assertTrue(session.start());
}