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