Existence of workspace is checked when creating content with test case

Signed-off-by: MKRussel <russel@smitsol.com>
Issue #SMARTCMS-53 - Existence of workspace is not checked when creating a content
Refactor code

Signed-off-by: MKRussel <russel@smitsol.com>
Issue #SMARTCMS-53 - Existence of workspace is not checked when creating a content

Signed-off-by: MKRussel <russel@smartitengineering.com>
Fix a bug

Signed-off-by: MKRussel <russel@smitsol.com>
Content creation should throw exception if workspace id and id of content is null in ContentId object

Signed-off-by: MKRussel <russel@smitsol.com>
Error message correction

Signed-off-by: MKRussel <russel@smitsol.com>
Merge pull request #2 from frodooooo39/master

Pulling from frodooooo39/smart-cms