Check the actual results array when getting an instance
Merge branch 'master' into more-api-unit-tests
Wrote the first working POST instances unit test
Added an example that checks if the instance was created in the database
Added a test that makes sure we've sent a message to collector when creating a new instance
Check for parameters to make sure that the correct message is sent to collector
Refactored instances POST test by extracting a couple of methods
Some more refactoring and commenting
Use Dcmgr.messaging instead of the returned test double when expecting the submit method. This shows much clearer what we're doing
spelling error in a comment
Merge pull request #430 from axsh/more-api-unit-tests

More api unit tests