Add assertions on logged exceptions

## Context
`ListAppender` class didn't provide a way to write assertions on logged exceptions.

## Description
Add `assertHasLog(LogEntryMatcher, Count)` method to `ListAppender` class in order to assert there is exactly a number of logs with an a given exception (class + message).