public void whenNoMessagesLogged() {
// do nothing
}
public void whenErrorMessageLogged(final String errorMessage, final Object... params) {
call(new Command() {
@Override
public void call() throws Exception {
specTest.logging.addError(LOGGER_NAME, errorMessage, params);
}
});