Opportunity methods and unit tests.