limitations under the License.
*/
+/*
+ * This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ * platform project (RICP).
+*/
+
#include <type_traits>
#include <gtest/gtest.h>
#include <sdl/asyncstorage.hpp>
const std::string notValidNamespace(std::string("someNamespace") + AsyncStorage::SEPARATOR);
EXPECT_THROW(validateNamespace(notValidNamespace), InvalidNamespace);
}
+
+TEST(AsyncStorageTest, AsyncStorageCreateInstanceHasCorrectType)
+{
+ auto asyncStorageInstance(shareddatalayer::AsyncStorage::create());
+ EXPECT_EQ(typeid(std::unique_ptr<AsyncStorage>), typeid(asyncStorageInstance));
+}