public function assertMultipleSuccessMessage(TableNode $messages)
    {
        $this->assertValidMessageTable($messages, 'success messages');
        foreach ($messages->getHash() as $key => $value) {
            $value = array_change_key_case($value);
            $message = trim($value['success messages']);
            $this->assertSuccessMessage($message);
        }
    }
public function assertMultipleSuccessMessage(TableNode $messages)
    {
        $this->assertValidMessageTable($messages, 'success messages');
        foreach ($messages->getHash() as $key => $value) {
            $value = array_change_key_case($value);
            $message = trim($value['success messages']);
            $this->assertSuccessMessage($message);
        }
    }
public function assertMultipleSuccessMessage ( TableNode $ messages ) { $ this -> assertValidMessageTable ( $ messages , 'success messages' ) ; foreach ( $ messages -> getHash ( ) as $ key => $ value ) { $ value = array_change_key_case ( $ value ) ; $ message = trim ( $ value [ 'success messages' ] ) ; $ this -> assertSuccessMessage ( $ message ) ; } }
Checks if the current page contains the given set of success messages

@param array $message
An array of texts to be checked. The first row should consist of the
string "Success messages".

@Then I should see the following success messages:
Checks if the current page contains the given set of success messages