Overview of LOB-agnostic context APIs
In PolicyCenter, some business contexts method the same way, regardless of the policy's line of business. One example of this is the administration business context. Supervisors and administrators typically perform their tasks in the same way. Their work does not vary with any job's line of business. These business contexts are referred to as LOB-agnostic business contexts. Behavior Testing Framework supports them using LOB-agnostic context APIs.
An LOB-agnostic context API is a context API that declares its logic in a single interface/impl pair. There is no need to create multiple impls because the same set of methods are used for every scenario.
Creating new LOB-agnostic context APIs
During an implementation of Behavior Testing Framework, you may need to create a new LOB-agnostic context API. This is necessary when you need functionality for testing your implementation of PolicyCenter that does not map to any base configuration context API.
For example, your implementation may require testing of certain aspects of calendar functionality, such as defining a holiday and ensuring that PolicyCenter takes the holiday into account when calculating an activity's due date. This type of functionality does not correspond to any of the base configuration context APIs. It may require a new context API, such as CalendarContext.
