public void testGetOperations() {
   try {
     // TODO:- operationManager.getOperations is not implemented
     DeviceIdentifier deviceId = new DeviceIdentifier();
     deviceId.setId("4892813d-0b18-4a02-b7b1-61775257400e");
     deviceId.setType("android");
     List<? extends Operation> operations = operationManager.getOperations(deviceId);
     Assert.assertNotNull(operations);
     boolean notEmpty = operations.size() > 0;
     Assert.assertTrue(notEmpty);
   } catch (OperationManagementException e) {
     e.printStackTrace();
   }
 }
  @Test
  public void testAddOperation() throws Exception {
    CommandOperation op = new CommandOperation();
    op.setEnabled(true);
    op.setType(Operation.Type.COMMAND);
    op.setCode("OPCODE1");

    List<DeviceIdentifier> deviceIds = new ArrayList<DeviceIdentifier>();
    DeviceIdentifier deviceId = new DeviceIdentifier();
    deviceId.setId("4892813d-0b18-4a02-b7b1-61775257400e");
    deviceId.setType("android");
    deviceIds.add(deviceId);

    try {
      boolean isAdded = operationManager.addOperation(op, deviceIds);
      Assert.assertTrue(isAdded);
    } catch (OperationManagementException e) {
      e.printStackTrace();
      throw new Exception(e);
    }
  }