I'm struggling to understand how the transition from integration test to unit test might manifest in terms of a real world refactoring.
My 'integration tests' almost always cross the boundaries of two or more (theoretically) well-defined APIs. If they're within those boundaries, well, they're not really integrating anything, so I would just consider them a unit test.
Do you have any examples of this?