public function testEncrypt()
{
$value = 'value';
$computedValue = 'computed_value';
$this->algorithm->expects($this->once())->method('compute')->with($value)->will($this->returnValue($computedValue));
$this->assertSame($computedValue, $this->encryption->encrypt($value));
}