Step 4: Creating the context API impl

Create a new impl for the context API that implements the new interface.
For each method, Guidewire recommends writing initial implementations that simply throw an UnsupportedOperationException. When the initial work is complete, you can test the structure by running a test and verifying that this type of exception is thrown. Later, you can replace each implementation with actual code.
The following text is an example of a new CalendarContextImpl_Ext impl.
package gw.cucumber.customer.context.impl.smoketest
// additional uses statements may be needed
uses gw.cucumber.customer.context.api.CalendarContext_Ext
class CalendarContextImpl_Ext implements CalendarContext_Ext {
override function setTodaysDate(dayOfWeek : String) {
throw new UnsupportedOperationException("Not yet implemented")
}
override function createHolidayForTomorrow() {
throw new UnsupportedOperationException("Not yet implemented")
}
override function createActivityFromActivityPattern(activityPattern : String) {
throw new UnsupportedOperationException("Not yet implemented")
}
override function verifyActivity(activityPattern : String) {
throw new UnsupportedOperationException("Not yet implemented")
}
override function verifyTimeUntilActivityIsDue(dueDateOffset : int ) {
throw new UnsupportedOperationException("Not yet implemented")
}
}