import { MockDaffCustomerAddressPageFacade } from '@daffodil/customer/state/testing'
Mocks out facade fields and methods for testing purposes.
@Injectable()
class MockDaffCustomerAddressPageFacade extends MockDaffOperationStateFacade implements DaffCustomerAddressPageFacadeInterface {
addresses$: BehaviorSubject<DaffCustomerAddressEntity[]> = new BehaviorSubject<DaffCustomerAddressEntity[]>([])
errors$: BehaviorSubject<DaffStateError[]> = new BehaviorSubject<DaffStateError[]>([])
getAddress(): any
dispatch(action: Action<string>): void
}
BehaviorSubject<DaffCustomerAddressEntity[]>| Default | new BehaviorSubject<DaffCustomerAddressEntity[]>([]) |
|---|---|
| Description | A list of all customer address entities. |
BehaviorSubject<DaffStateError[]>| Default | new BehaviorSubject<DaffStateError[]>([]) |
|---|---|
| Description |
anyvoid| Parameter | action: Action |
|---|---|
| Description |