import { MockDaffGeographyFacade } from '@daffodil/geography/state/testing'
@Injectable()
class MockDaffGeographyFacade implements DaffGeographyFacadeInterface {
loading$: BehaviorSubject<boolean> = new BehaviorSubject(null)
errors$: BehaviorSubject<DaffStateError[]> = new BehaviorSubject([])
countries$: BehaviorSubject<DaffCountry[]> = new BehaviorSubject([])
countryIds$: BehaviorSubject<DaffCountry['id'][]> = new BehaviorSubject([])
countryCount$: BehaviorSubject<number> = new BehaviorSubject(null)
countryEntities$: BehaviorSubject<Dictionary<DaffCountry>> = new BehaviorSubject(null)
getCountry(id): any
getCountrySubdivisions(id): any
isCountryFullyLoaded(id): any
dispatch(action: Action<string>): void
}
any
Parameter | id: undefined |
---|---|
Description |
any
Parameter | id: undefined |
---|---|
Description |
any
Parameter | id: undefined |
---|---|
Description |
void
Parameter | action: Action |
---|---|
Description |