ezsystems/ez-js-rest-client — pull request #29 by wiseman17 (2013-11-14 14:49:42+00:00)
Title: EZP-21670: Tests additional refactoring

Implementing additional refactorings.
Better be reviewed after merging https://github.com/ezsystems/ez-js-rest-client/pull/25
Built on this PR's base, because we are using custom matchers infrastructure introduced there.

- [x] custom matcher for testing Connection in ConnectionManager
- [ ] switching from `expect().toBe(...)` constuct for each of the arguments to `expect().toHaveBeenCalledWith(...)` in almost every call in every service