### Question:
ScreenShotOnError extends Monitor.NULL { public String getContext() { return context; } ScreenShotOnError(TakesScreenshot webDriver, Class classCloseToOutputPath, String pathFrom, String pathTo); void setContext(String context); String getContext(); @Override FluentExecutionStopped exceptionDuringExecution(FluentExecutionStopped ex, WebElement webElement);  }### Answer:
@Test public void canExtractTestClassAndMethodName() throws IOException { ScreenShotOnError.WithUnitTestFrameWorkContext ssoe = new ScreenShotOnError.WithUnitTestFrameWorkContext(null, ScreenShotOnErrorTest.class, "a", "b"); String s = ssoe.getContext(); assertThat(s, equalTo("org.seleniumhq.selenium.fluent.monitors.ScreenShotOnErrorTest.canExtractTestClassAndMethodName")); }