public function setUp() { $this->registry = new FormatRegistry(); $this->format = $this->prophesize(FormatInterface::class); }