/**
  * @covers ::convert
  */
 public function testConvert()
 {
     $entity = $this->prophesize(EntityInterface::class)->reveal();
     $storage = $this->prophesize(EntityStorageInterface::class);
     $storage->loadRevision(1)->willReturn($entity);
     $entity_type_manager = $this->prophesize(EntityTypeManagerInterface::class);
     $entity_type_manager->getStorage('test')->willReturn($storage->reveal());
     $converter = new EntityRevisionParamConverter($entity_type_manager->reveal());
     $route = $this->getTestRoute();
     $converter->convert(1, $route->getOption('parameters')['test_revision'], 'test_revision', ['test_revision' => 1]);
 }
 /**
  * @covers ::applies
  */
 public function testApplyingRoute()
 {
     $route = $this->getTestRoute();
     $this->assertTrue($this->converter->applies($route->getOption('parameters')['test_revision'], 'test_revision', $route));
 }