/** * @throws EncoderException * @expectedException \Team3\PayU\SignatureCalculator\Encoder\EncoderException */ public function testExceptionWhenNoStrategies() { $encoder = new Encoder($this->getLogger()); $encoder->encode(self::DATA, new Md5Algorithm()); }