/** * Test getVideoSettingsJson */ public function testGetVideoSettingsJson() { $this->mediaHelperMock->expects($this->once())->method('getPlayIfBaseAttribute')->willReturn(1); $this->mediaHelperMock->expects($this->once())->method('getShowRelatedAttribute')->willReturn(0); $this->mediaHelperMock->expects($this->once())->method('getVideoAutoRestartAttribute')->willReturn(0); $this->gallery->getVideoSettingsJson(); }