When I search on the internet especially in Stackoverflow.com, I recognize that some developers have misunderstanding about on ‘Unit Testing’ role.( If to be honest , I had the same misunderstanding idea before searching :) ) According to a common misconception, ‘Unit Test’ result guarantee that a function or class work as correctly or has an exception. According to this idea one problem is occurring that ‘What about Integration test?’ If we look at the aim of Integrated test, we can see the same definition.
You can read explanation about this on this adress. https://medium.com/@eyupcanarslan/a-big-misunderstanding-unit-testing-and-integrated-testing-same-933a03158b81