Summary
Modify InvoiceFormatterFactory.createInvoiceFormatter to accept a CallContext parameter instead of relying on other mechanisms to obtain the context.
Requirements
- Update
InvoiceFormatterFactory.createInvoiceFormatter to accept a CallContext parameter.
- Update all callers of
createInvoiceFormatter to pass the appropriate CallContext.
- Refactor the implementation as needed to use the supplied
CallContext.
- Ensure existing functionality and behavior remain unchanged.
Acceptance Criteria
InvoiceFormatterFactory.createInvoiceFormatter accepts a CallContext parameter.
- All compilation errors resulting from the signature change are resolved.
- All existing tests pass.
- No functional regressions are introduced.
Summary
Modify InvoiceFormatterFactory.createInvoiceFormatter to accept a
CallContextparameter instead of relying on other mechanisms to obtain the context.Requirements
InvoiceFormatterFactory.createInvoiceFormatterto accept aCallContextparameter.createInvoiceFormatterto pass the appropriateCallContext.CallContext.Acceptance Criteria
InvoiceFormatterFactory.createInvoiceFormatteraccepts aCallContextparameter.