Пример #1
0
 public function testSaveEmptiesNonSetArguments()
 {
     $this->_structureReaderMock->expects($this->never())->method('getConfiguration');
     $this->assertNull($this->_model->getSection());
     $this->assertNull($this->_model->getWebsite());
     $this->assertNull($this->_model->getStore());
     $this->_model->save();
     $this->assertSame('', $this->_model->getSection());
     $this->assertSame('', $this->_model->getWebsite());
     $this->assertSame('', $this->_model->getStore());
 }