Skip to content

Commit

Permalink
Add coverage for custom exceptions for list functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Kolb committed Jun 8, 2024
1 parent 432995c commit 8262b9d
Show file tree
Hide file tree
Showing 11 changed files with 390 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Test/Exception/AllUsersMustBeAbleToPerformAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class AllUsersMustBeAbleToPerformAction extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/ListOfUsersHasNotChanged.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class ListOfUsersHasNotChanged extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/NoUserCanPerformAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class NoUserCanPerformAction extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/NotAllUsersAreDisabled.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class NotAllUsersAreDisabled extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/NotAllUsersAreEnabled.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class NotAllUsersAreEnabled extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/SomeUsersAreAlreadyEnabled.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class SomeUsersAreAlreadyEnabled extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/ThereAreStillUsersWithIssues.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class ThereAreStillUsersWithIssues extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/ThereMustBeAtLeastOneUserWithAccess.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class ThereMustBeAtLeastOneUserWithAccess extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/UserIsDisabled.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class UserIsDisabled extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions tests/Test/Exception/UserIsNotEnabled.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace DigitalCraftsman\Ids\Test\Exception;

final class UserIsNotEnabled extends \InvalidArgumentException
{
}
Loading

0 comments on commit 8262b9d

Please sign in to comment.