Notice that I have changed the names of the functions to use the common given-when-then convention. This makes the tests even easier to read. Unfortunately, splitting the tests as shown results in a lot of duplicate code.
Notice that I have changed the names of the functions to use the common given-when-thenconvention.This makes the tests even easier to read. Unfortunately, splitting the testsas shown results in a lot of duplicate code.