Tests - add missing tests of Participants::addParticipant() method for not existing survey

This commit is contained in:
Meritoo
2017-09-29 19:47:42 +02:00
parent d54765b378
commit bbd466610c
3 changed files with 43 additions and 5 deletions

View File

@@ -12,6 +12,13 @@ use Meritoo\Common\Type\Base\BaseType;
*/
class ReasonType extends BaseType
{
/**
* Reason of exception when there is no survey with given ID
*
* @var string
*/
const NOT_EXISTING_SURVEY_ID = 'Error: Invalid survey ID';
/**
* Reason of exception when there is no participants of survey
*