My api returns the value below:
if (!login) { return new { loggedIn = false }; }
Then in my unit test, I have the below: var response = aw