How is API testing automated using c#?