The generally accepted definition of a unit test is a test that: