protected function setUp() { parent::setUp(); $this->attributeMetadataMock->expects($this->any())->method('getAttributeCode')->will($this->returnValue('date')); $this->attributeMetadataMock->expects($this->any())->method('getStoreLabel')->will($this->returnValue('Space Date')); $this->attributeMetadataMock->expects($this->any())->method('getInputFilter')->will($this->returnValue('date')); $this->date = new \Magento\Customer\Model\Metadata\Form\Date($this->localeMock, $this->loggerMock, $this->attributeMetadataMock, $this->localeResolverMock, null, 0); }
protected function setUp() { parent::setUp(); $this->stringHelper = new \Magento\Framework\Stdlib\String(); }