package io.delphi.qa.auto.awsmfrw.managers.helpers.db.snowflake;

import io.delphi.qa.auto.awsmfrw.managers.helpers.common.IsaAssertions;
import io.delphi.qa.auto.awsmfrw.managers.helpers.db.SnowflakeClient;
import io.delphi.qa.auto.awsmfrw.suppliers.DelphiDataContainer;

public interface SfRlsUserInterface extends SfRlsInterface {

  default void countViews() {
    countEntities(getUserClient(), SfRlsInterface.VIEWS);
  }

  SnowflakeClient getUserClient();

  default void verifyEntities() {
    IsaAssertions.isaStaticAssertEquals(
        DelphiDataContainer.getResource(VIEWS), DelphiDataContainer.getResource(TABLES));
  }
}
