Define cases on methods that execute different callbacks for different scenarios.