Add unit tests for HostingServiceAccountResource.

Review Request #5891 — Created May 28, 2014 and submitted — Latest diff uploaded

Information

Review Board
master
4145eb9...

Reviewers

This resource never had any accompanying tests when it was first
written. As we made changes to the resource or any other backing
services, we had no way of verifying that the code worked through the
API. It turns out, it didn't, as POSTing ended up calling save() on the
wrong object.

This introduces a basic test suite for this resource.

Unit tests passed.