Beispiel #1
0
 /**
  * Get count of store views
  *
  * @return int
  */
 public function getStoreViewsCount()
 {
     $count = $this->storeManagement->getCount();
     return (int) $count;
 }
 /**
  * Tests stores count will return int
  *
  * @return void
  */
 public function testGetStoreViewsCount()
 {
     $this->storeManagement->expects($this->once())->method('getCount')->willReturn(1);
     $this->assertInternalType('int', $this->model->getStoreViewsCount());
 }