Example #1
0
 /**
  * Tests the decode() method.
  */
 public function testDecode()
 {
     $this->baseEncoder->expects($this->once())->method('decode')->with('test', 'test', array())->will($this->returnValue($this->testArray));
     $this->assertEquals($this->testArray, $this->encoder->decode('test', 'test'));
 }