WebdriverManager webdriverManager;
@Test
public void should_record_remote_session_id() {
when(webdriverManager.getSessionId()).thenReturn(new SessionId("SESSION-ID"));
BaseStepListener stepListener = new BaseStepListener(outputDirectory, webdriverManager);
net.thucydides.core.model.Story story = net.thucydides.core.model.Story.from(MyStory.class);
stepListener.testSuiteStarted(story);
stepListener.testStarted("the app should work");
assertThat(stepListener.getCurrentTestOutcome().getSessionId() , is("SESSION-ID"));