public void updateFixture ( final String uuid , final Consumer < FixtureResult > update ) { final Optional < FixtureResult > found = storage . getFixture ( uuid ) ; if ( ! found . isPresent ( ) ) { LOGGER . error ( "Could not update test fixture: test fixture with uuid {} not found" , uuid ) ; return ; } final FixtureResult fixture = found . get ( ) ; notifier . beforeFixtureUpdate ( fixture ) ; update . accept ( fixture ) ; notifier . afterFixtureUpdate ( fixture ) ; }
Updates fixture by given uuid .