public void updateFixture(final Consumer<FixtureResult> update) {
        final Optional<String> root = threadContext.getRoot();
        if (!root.isPresent()) {
            LOGGER.error("Could not update test fixture: no test fixture running");
            return;
        }
        final String uuid = root.get();
        updateFixture(uuid, update);
    }
public void updateFixture ( final Consumer < FixtureResult > update ) { final Optional < String > root = threadContext . getRoot ( ) ; if ( ! root . isPresent ( ) ) { LOGGER . error ( "Could not update test fixture: no test fixture running" ) ; return ; } final String uuid = root . get ( ) ; updateFixture ( uuid , update ) ; }
Updates current running fixture. Shortcut for {@link #updateFixture(String, Consumer)}.

@param update the update function.