* ONAP
* ================================================================================
* Copyright (C) 2020-2021, 2023 AT&T Intellectual Property. All rights reserved.
- * Modifications Copyright (C) 2023 Nordix Foundation.
+ * Modifications Copyright (C) 2023-2024 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@Test
void testStoreInDataBase() throws ControlLoopException {
+ when(services.getDataManager()).thenReturn(dataMgr);
+ when(workMem.getFactHandle(any())).thenReturn(factHandle);
mgr.start();
var outcome = makeOutcome();
mgr.addToHistory(outcome);