def METHOD_NAME(sqlite_sample_tap: SQLTap):
    _discover_and_select_all(sqlite_sample_tap)
    sqlite_sample_tap.sync_all()
    stream = t.cast(SQLStream, sqlite_sample_tap.streams["main-t1"])
    schema = stream.schema
    assert len(schema["properties"]) == 2
    assert stream.name == stream.tap_stream_id == "main-t1"
    md_map = MetadataMapping.from_iterable(stream.catalog_entry["metadata"])
    assert md_map[()] is not None
    assert md_map[()] is md_map.root
    assert md_map[()].schema_name == "main"
    assert stream.metadata.root.schema_name == "main"
    assert stream.fully_qualified_name == "main.t1"
    assert stream.metadata.root.table_key_properties == ["c1"]
    assert stream.primary_keys == ["c1"]