public function testFormatTime() { $locale = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get('Magento\\Framework\\Stdlib\\DateTime\\TimezoneInterface'); $this->assertEquals($locale->formatTime(), $this->_block->formatTime()); }