How to Write Unit tests AutoMapper ProjectTo using XUnit Below is my code where I am using AutoMapper’s ProjectTo and for that I have to create tests