Skip to content

Provide one preferred way (ideally with DI) of providing test address books #1305

@rfc2822

Description

@rfc2822

Are they even necessary or can normal LocalAddressBookss used?

In any case, the code that manages test address books should be in a Hilt (→ no Context passing) class, be it LocalAddressBookStore or an extension of it or a separate one.

So:

  • Think about better class/test design (including testing philosophy: mock vs fake class vs real class).
  • Decide whether LocalTestAddressBook is necessary.
  • Check subclasses vs interfaces vs extension methods.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions