# Packages
No description provided by the author
No description provided by the author
Package unit performs initialization and validation for unit tests.
# Functions
AssertJSON verifies that the expect json string matches the actual.
AssertQuery verifies the expect HTTP query string matches the actual.
AssertURL verifies the expected URL is matches the actual.
AssertXML verifies that the expect xml string matches the actual.
Match is a testing helper to test for testing error by comparing expected with a regular expression.
NewClient creates and initializes a generic service client for testing.
SortedKeys returns a sorted slice of keys of a map.
# Structs
ReadCloser is a io.ReadCloser for unit testing.
ZeroReader is a io.Reader which will always write zeros to the byte slice provided.