Skip to content

VUS Design Assumptions

illyfrancis edited this page Jul 31, 2013 · 8 revisions

UAF

Dual Account Service

enum DualAccountType {
  A_TYPE,
  B_TYPE,
  C_TYPE
}

interface DualAccountService {
  DualAccountType determineType(Integer accountNumber);
}

Q: What if the type cannot be determined for the given account number?

Clone this wiki locally