Create a unit test for LargeFileWarningGenerator, determine which dependencies to mock, which methods to stub and assess the testability of the LargeFileWarningGenerator. Reflect on the code coverage improvement. Also reflect on the usefulness of the warning it produces.
Create a unit test for
LargeFileWarningGenerator
, determine which dependencies to mock, which methods to stub and assess the testability of theLargeFileWarningGenerator
. Reflect on the code coverage improvement. Also reflect on the usefulness of the warning it produces.