OperationRequest operation =
new OperationRequest("robot.notify", OP_ID, Parameter.of(ParamsProperty.CAPABILITIES_HASH,
NEW_HASH));
when(connector.fetchCapabilities(any(RobotAccountData.class), anyString())).thenThrow(
new CapabilityFetchException(""));
operationService.execute(operation, context, ROBOT);
verify(accountStore, never()).putAccount(any(AccountData.class));
verify(context).constructErrorResponse(eq(operation), anyString());