src/main/java/com/openbank/util/HermesStepListener.java
@Override
    public void testFinished(TestOutcome result) {
        Map<String, String> metadatas = Serenity.getCurrentSession().getMetaData();
        metadatas.forEach((String key, String value) -> {
            this.testsWithJiraId.put(key, result);
        });
    }
/**
     * Called when a test finishes.
     *
     * @param result
     */
Called when a test finishes.
@param result
Called when a test finishes . @param result
@Override
    public void testFinished(TestOutcome result) {
        Map<String, String> metadatas = Serenity.getCurrentSession().getMetaData();
        metadatas.forEach((String key, String value) -> {
            this.testsWithJiraId.put(key, result);
        });
    }
@ Override public void testFinished ( TestOutcome result ) { Map < String , String > metadatas = Serenity . getCurrentSession ( ) . getMetaData ( ) ; metadatas . forEach ( ( String key , String value ) -> { this . testsWithJiraId . put ( key , result ) ; } ) ; }
Called when a test finishes.
Called when a test finishes .