def METHOD_NAME(self, mock_ite, mock_ta, mock_cps):
    mock_ite.return_value = True
    app_class = TethysAppBase
    # mock_db_setting
    db_setting = mock.MagicMock(spatial="test_spatial", initializer="test_init")
    db_setting.name = "test_name"
    db_app = mock.MagicMock(persistent_store_database_settings=[db_setting])
    mock_ta.objects.get.return_value = db_app
    # Execute
    base_testing.TethysTestCase.create_test_persistent_stores_for_app(app_class)
    # Check Result
    mock_ta.objects.get.assert_called_with(package="")
    mock_cps.assert_called_with(
        connection_name=None,
        db_name="test_name",
        force_first_time=True,
        initializer="test_init",
        refresh=True,
        spatial="test_spatial",
    )