예제 #1
0
 /**
  * Get customer count
  *
  * @return int
  */
 public function getCustomerCount()
 {
     $count = $this->customerManagement->getCount();
     return (int) $count;
 }
예제 #2
0
 /**
  * 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());
 }