/**
  * @expectedException \EBT\Message\Exception\InvalidArgumentException
  */
 public function testFromStoreMissingKeys()
 {
     $compressorNull = new NullCompressor();
     SimpleMessage::fromStore(array(), SimpleMessage::getStoreFormat($compressorNull), $compressorNull);
 }
Exemple #2
0
 /**
  * @expectedException \EBT\Message\Exception\InvalidArgumentException
  */
 public function testReplaceMapping()
 {
     new MessageType(SimpleMessage::getType(), array(MessageType::MSTOREFORMAT => 'EBT\\Message\\MStoreFormat\\MStoreFormatMessage'));
 }