Hey, folks! One of our tasks is related with tests (of course!). We had to create and refactor tests for a lot of models and controllers created by us in the issues.
One of our mentor’s suggestions was to use context and that makes me wonder what is the context purpose. Then…
Sometimes we need to apply a state in some cases when we want to modify a status of an object. A basic example is water state: gaseous, liquid and solid and the events responsible for change it:
States: From solid…