public function testOutputValue() { $this->assertEquals(null, $this->date->outputValue()); $date = new \Magento\Customer\Model\Metadata\Form\Date($this->localeMock, $this->loggerMock, $this->attributeMetadataMock, $this->localeResolverMock, '2012/12/31', 0); $this->assertEquals('2012-12-31', $date->outputValue()); }