# Decode and encode are provided as stubs which are intended to be overridden # These can be used to translate the message or to invoke other functions # to take action based on the type and content of messages Feature: Encode stubs passthru message unchanged The protocol encode method works as expected Scenario: Encode passes the message through unaltered Given a valid message When the protocol.encode method is called Then the message is returned unaltered