@Test
public void createSession() {

    final Consul consul = new Consul(System.getProperty(EP_PROPERTY));
    assertTrue(consul.isValid());
    final ConsulSession session = consul.createSession(getSessionName(), 10, 0);
    assertThat(session, is(notNullValue()));
    assertThat(session.getId(), is(not("")));
    session.close();
}