Mocking callbacks in Dart/Flutter unit tests
This article is a guide on how to mock callback functions and verify that the callback functions are called in Dart/Flutter unit tests.
The article is divided into:
Introduction
Mocking The Callback
Testing The Callback
1. Introduction
Let's say we...
blog.victoreronmosele.com3 min read