/**
  * 
  */
 function testGetEuiccbyEidFound()
 {
     //arrange
     $Euicc = new EuiccCapabilities();
     //act
     $Result = $Euicc->where('eid', 'eid98')->get();
     //assert
     $this->assertEquals(1, $Result->count());
 }
 /**
  * This function retrieves EuiccCapabilities
  *
  * It receives as inputs Smsr-Id (Mandatory), EID (Optional) 
  * It searches in the EuiccCapabilities model and retrieves the capabilities requested
  * Smsr-Id, EID input paramater may include the 'all' wilcard
  * When EID is omitted, it searches all capabilities in the scope of the SMSSRId.
  * The function returns a HTTP response object. It contains the either the result of the search or an eror code.
  *
  * @param string $smsrid
  * @param string $eid
  * @return response
  * 
  */
 public function getEuiccCapabilities($SmsrId, $Eid = null)
 {
     $EuiccCapabilities = new EuiccCapabilities();
     if ($SmsrId == 'all') {
         if ($Eid == null) {
             $result = $EuiccCapabilities->all();
         } else {
             $result = $EuiccCapabilities->find($Eid);
         }
     } else {
         if ($Eid == null) {
             $result = $EuiccCapabilities->all();
         } else {
             $result = $EuiccCapabilities->find($Eid);
         }
     }
     return response()->json($result);
 }