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