/** * @magentoDataFixture Magento/Customer/_files/customer.php */ public function testGetCreatedInStore() { $storeName = $this->_storeManager->getStore($this->_loadCustomer()->getStoreId())->getName(); $this->assertEquals($storeName, $this->_block->getCreatedInStore()); }