remove if (some variable is empty) then throw an exception
make sure that we confirm that loops really are executed at least once (for example, if we have an array of roles and are looping through the array looking for a particular role, and then asserting something about that role, then the test should be made to fail if that role is not found at all)
as mentioned in PR https://github.com/owncloud/ocis-php-sdk/pull/236. we need to simplify tests if possible
if (some variable is empty)
then throw an exception