/**
  * Test getting a reply payload
  * @param  string $messageType
  * @dataProvider provideMessageType
  */
 public function testReplyPayload($messageType)
 {
     $this->config->expects($this->any())->method('getConfigKey')->will($this->returnValue($messageType));
     if ($messageType !== self::SUPPORTED_MESSAGE_TYPE) {
         $this->setExpectedException('eBayEnterprise\\RetailOrderManagement\\Payload\\Exception\\UnsupportedPayload');
     }
     $this->assertSame($this->payload, $this->messageFactory->replyPayload());
 }