public function testHasChangedContent() { $media = $this->getMock('\\Oryzone\\MediaStorage\\Model\\MediaInterface'); $media->expects($this->any())->method('getContent')->will($this->onConsecutiveCalls(NULL, 'something')); $this->assertFalse($this->provider->hasChangedContent($media)); $this->assertTrue($this->provider->hasChangedContent($media)); }
/** * Constructor */ public function __construct() { parent::__construct(); }