@Test
public void testSuppressOakLogging() {

    WebsterMojo mojo = newMojo();
    mojo.revealOakLogging = true;
    Properties props = new Properties();
    mojo.suppressOakLogging(props::setProperty);
    assertTrue("props is still empty: " + props, props.isEmpty());
    mojo.revealOakLogging = false;
    mojo.suppressOakLogging(props::setProperty);
    assertEquals("props is not empty: " + props, "ERROR",
            props.getProperty("org.slf4j.simpleLogger.log.org.apache.jackrabbit.oak"));
}