Dataedo interview question

- What is Unit testing? - How would you remove duplicate code