public function testDeserializeWithNoProfile() { $text = $this->getFaker()->word; $this->assertEquals(new ProfilelessChipherText($text), $this->serializerWithNoProfile->deserialize($text)); }
public function testDeserialize() { $text = $this->getFaker()->word; $this->assertEquals(new CipherText($text, $this->profile), $this->serializer->deserialize($text)); }