public function test_updateBalance_positive()
 {
     /** === Test Data === */
     $ACC_ID = 32;
     $DELTA = 45;
     $ROWS_UPDATED = 1;
     /** === Setup Mocks === */
     // $rowsUpdated = $this->updateById($accountId, $bind);
     // $result = $this->_repoGeneric->updateEntity($this->_entityName, $data, $where);
     $this->mRepoGeneric->shouldReceive('updateEntity')->andReturn($ROWS_UPDATED);
     /** === Call and asserts  === */
     $res = $this->obj->updateBalance($ACC_ID, $DELTA);
     $this->assertEquals($ROWS_UPDATED, $res);
 }
 public function test_updateBalance()
 {
     $DELTA = 2;
     $res = $this->_obj->updateBalance(static::DEF_ACCOUNT_ID, $DELTA);
     $this->assertEquals(1, $res);
 }