X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tst%2Fsyncstorage_test.cpp;h=9467ef909c6d879408ad5406ed7dd2868fb35add;hb=refs%2Fchanges%2F25%2F9925%2F1;hp=74409caa6bff5a93e053fdd6cb31f910b9a27c07;hpb=ef2bf51d04aaf01fa0cabdcaf905b23423067662;p=ric-plt%2Fsdl.git diff --git a/tst/syncstorage_test.cpp b/tst/syncstorage_test.cpp index 74409ca..9467ef9 100644 --- a/tst/syncstorage_test.cpp +++ b/tst/syncstorage_test.cpp @@ -14,6 +14,11 @@ limitations under the License. */ +/* + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). +*/ + #include #include #include @@ -37,3 +42,9 @@ TEST(SyncStorageTest, IsAbstract) { EXPECT_TRUE(std::is_abstract::value); } + +TEST(SyncStorageTest, SyncStorageCreateInstanceHasCorrectType) +{ + auto syncStorageInstance(shareddatalayer::SyncStorage::create()); + EXPECT_EQ(typeid(std::unique_ptr), typeid(syncStorageInstance)); +}