A concise guide to unit testing .NET Core 2 Web API controllers using xUnit. Demonstrates how to directly instantiate a controller and call its async GET and POST methods in tests, then assert against typed result objects like OkObjectResult and CreatedResult — without needing JSON deserialization.