test/src/storage/rocksdb/rocksdb_fs_test.cpp
TEST_F(rocksdb_Open, OpenNonExistingDB) {
    rocksdb::Options options;
    options.create_if_missing = false;  // intentionally

    auto r = rocksdb::create(getPathString(), options);
    EXPECT_FALSE(r);
    EXPECT_EQ(r.error(), DatabaseError::INVALID_ARGUMENT);
  }
/**
   * @given options with disabled option `create_if_missing`
   * @when open database
   * @then database can not be opened (since there is no db already)
   */
@given options with disabled option `create_if_missing`
@when open database
@then database can not be opened (since there is no db already)
@given options with disabled option ` create_if_missing ` @when open database @then database can not be opened ( since there is no db already )
TEST_F(rocksdb_Open, OpenNonExistingDB) {
    rocksdb::Options options;
    options.create_if_missing = false;  
    auto r = rocksdb::create(getPathString(), options);
    EXPECT_FALSE(r);
    EXPECT_EQ(r.error(), DatabaseError::INVALID_ARGUMENT);
  }
TEST_F ( rocksdb_Open , OpenNonExistingDB ) { rocksdb :: Options options ; options . create_if_missing = false ; auto r = rocksdb :: create ( getPathString ( ) , options ) ; EXPECT_FALSE ( r ) ; EXPECT_EQ ( r . error ( ) , DatabaseError :: INVALID_ARGUMENT ) ; }
@given options with disabled option `create_if_missing`
 @when open database
 @then database can not be opened (since there is no db already)
@given options with disabled option ` create_if_missing ` @when open database @then database can not be opened ( since there is no db already )
// intentionally