Esempio n. 1
0
 /**
  * Get customer count
  *
  * @return int
  */
 public function getCustomerCount()
 {
     $count = $this->customerManagement->getCount();
     return (int) $count;
 }
 /**
  * Tests customers count will return int
  *
  * @return void
  */
 public function testGetCustomerCount()
 {
     $this->customerManagement->expects($this->once())->method('getCount')->willReturn(1);
     $this->assertInternalType('int', $this->model->getCustomerCount());
 }