def METHOD_NAME(db: DBInterface, db_session: Session):
    name = "dummy"
    feature_set = _create_feature_set(name)
    project = "proj-test"
    feature_set = mlrun.common.schemas.FeatureSet(**feature_set)
    db.store_feature_set(
        db_session, project, name, feature_set, tag="latest", versioned=True
    )
    db.get_feature_set(db_session, project, name)
    feature_set_res = db.list_feature_sets(db_session, project)
    assert len(feature_set_res.feature_sets) == 1
    features_res = db.list_features(db_session, project, "time")
    assert len(features_res.features) == 1