### Question:
BitvUnit { public static void useReportWriter(ReportWriter reportWriter) { ReportingContext.setReportWriter(reportWriter); }  static void assertAccessibility(WebDriver webDriver, Testable testable); static void assertAccessibility(String htmlString, Testable testable); static void assertAccessibility(HtmlPage htmlPage, Testable testable); static void assertAccessibility(Reader reader, Testable testable); static void assertAccessibility(InputStream inputStream, Testable testable); static void assertAccessibility(URL url, Testable testable); static Matcher<T> compliantTo(Testable testable); static RuleSet allRules(); static RuleSet withRules(Rule... rules); static void useReportWriter(ReportWriter reportWriter);  }### Answer:
@Test public void shouldExposeReportWriterConfiguration() { XmlReportWriter expectedReportWriter = new XmlReportWriter(); expectedReportWriter.setWriteToFile(false); BitvUnit.useReportWriter(expectedReportWriter); assertThat(ReportingContext.getReportWriter(), is(equalTo((ReportWriter) expectedReportWriter))); }