public function testGetDataObject() { $this->registryMock->expects($this->once())->method('registry')->willReturn($this->productMock); $this->assertSame($this->productMock, $this->gallery->getDataObject()); }
public function testGetDataObject() { $this->registryMock->expects($this->once())->method('registry')->willReturn($this->productMock); $this->assertSame($this->productMock, $this->gallery->getDataObject()); }