Added

Tests and associated fixtures

Added tests for schema

  • mock schema is valid

Added tests for adapter

  • auth
  • getAuthorizationHeader
  • broadcast
  • poll
  • publish
  • tokenValid
  • validate (message delegated to protocol)

Added tests for protocol

  • decode
  • encode
  • getType
  • validate (message)