mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Code optimation by PHP-Code Sniffer
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\ActionTypeAttributInterface;
|
||||
use Infinito\Attribut\ActionTypeAttribut;
|
||||
use Infinito\Attribut\ActionTypeAttributInterface;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Exception\Type\InvalidChoiceTypeException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\ChildsAttributInterface;
|
||||
use Infinito\Attribut\ChildsAttribut;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Attribut\ChildsAttribut;
|
||||
use Infinito\Attribut\ChildsAttributInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ChildsAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\ClassAttributInterface;
|
||||
use Infinito\Attribut\ClassAttribut;
|
||||
use Infinito\Attribut\ClassAttributInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class ClassAttributTest extends TestCase
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\CollectionAttributInterface;
|
||||
use Infinito\Attribut\CollectionAttribut;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Attribut\CollectionAttribut;
|
||||
use Infinito\Attribut\CollectionAttributInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class CollectionAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\ConditionAttributInterface;
|
||||
use Infinito\Attribut\ConditionAttribut;
|
||||
use Infinito\Attribut\ConditionAttributInterface;
|
||||
use Infinito\Logic\Operation\OperationInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ConditionAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Infinito\Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\CreatorRelationAttributInterface;
|
||||
use Infinito\Attribut\CreatorRelationAttribut;
|
||||
use Infinito\Attribut\CreatorRelationAttributInterface;
|
||||
use Infinito\Entity\Meta\Relation\Parent\CreatorRelationInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class CreatorRelationAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\CrudAttributInterface;
|
||||
use Infinito\Attribut\CrudAttribut;
|
||||
use Infinito\Attribut\CrudAttributInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Exception\Type\InvalidChoiceTypeException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\FirstNameSourceAttribut;
|
||||
use Infinito\Attribut\FirstNameSourceAttributInterface;
|
||||
use Infinito\Entity\Source\Primitive\Name\FirstNameSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
|
||||
use Infinito\Attribut\FullPersonNameSourceAttributInterface;
|
||||
use Infinito\Attribut\FullPersonNameSourceAttribut;
|
||||
use Infinito\Attribut\FullPersonNameSourceAttributInterface;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\GrantAttribut;
|
||||
use Infinito\Attribut\GrantAttributInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class GrantAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\IdAttribut;
|
||||
use Infinito\Attribut\IdAttributInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\LayerAttributInterface;
|
||||
use Infinito\Attribut\LayerAttribut;
|
||||
use Infinito\Attribut\LayerAttributInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Exception\Type\InvalidChoiceTypeException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\LayerRepositoryFactoryServiceAttributInterface;
|
||||
use Infinito\Attribut\LayerRepositoryFactoryServiceAttribut;
|
||||
use Infinito\Attribut\LayerRepositoryFactoryServiceAttributInterface;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\MemberRelationAttributInterface;
|
||||
use Infinito\Attribut\MemberRelationAttribut;
|
||||
use Infinito\Attribut\MemberRelationAttributInterface;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class MemberRelationAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Attribut\MembersAttribut;
|
||||
use Infinito\Attribut\MembersAttributInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Attribut\MembersAttribut;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class MembersAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\MembershipsAttributInterface;
|
||||
use Infinito\Attribut\MembershipsAttribut;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Attribut\MembershipsAttribut;
|
||||
use Infinito\Attribut\MembershipsAttributInterface;
|
||||
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class MembershipsAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\NameSourceAttributInterface;
|
||||
use Infinito\Attribut\NameSourceAttribut;
|
||||
use Infinito\Attribut\NameSourceAttributInterface;
|
||||
use Infinito\Entity\Source\Primitive\Name\NameSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class NameSourceAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Infinito\Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\ParentRelationAttributInterface;
|
||||
use Infinito\Attribut\ParentRelationAttribut;
|
||||
use Infinito\Attribut\ParentRelationAttributInterface;
|
||||
use Infinito\Entity\Meta\Relation\Parent\ParentRelationInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ParentRelationAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\ParentsAttributInterface;
|
||||
use Infinito\Attribut\ParentsAttribut;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Attribut\ParentsAttribut;
|
||||
use Infinito\Attribut\ParentsAttributInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ParentsAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\PersonIdentitySourceAttributInterface;
|
||||
use Infinito\Attribut\PersonIdentitySourceAttribut;
|
||||
use Infinito\Attribut\PersonIdentitySourceAttributInterface;
|
||||
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @todo Implement abstract test class for entity attributs
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\PriorityAttributInterface;
|
||||
use Infinito\Attribut\PriorityAttribut;
|
||||
use Infinito\Attribut\PriorityAttributInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\RecieverAttributInterface;
|
||||
use Infinito\Attribut\RecieverAttribut;
|
||||
use Infinito\Attribut\RecieverAttributInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class RecieverAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Infinito\Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Meta\Relation\RelationInterface;
|
||||
use Infinito\Attribut\RelationAttributInterface;
|
||||
use Infinito\Attribut\RelationAttribut;
|
||||
use Infinito\Attribut\RelationAttributInterface;
|
||||
use Infinito\Entity\Meta\Relation\RelationInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class RelationAttributTest extends TestCase
|
||||
{
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\RequestAttributInterface;
|
||||
use Infinito\Attribut\RequestAttribut;
|
||||
use Infinito\Attribut\RequestAttributInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
/**
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\RequestedEntityAttribut;
|
||||
use Infinito\Attribut\RequestedEntityAttributInterface;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Attribut\RequestedRightAttributInterface;
|
||||
use Infinito\Attribut\RequestedRightAttribut;
|
||||
use Infinito\Attribut\RequestedRightAttributInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Infinito\Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\RightAttributInterface;
|
||||
use Infinito\Attribut\RightAttribut;
|
||||
use Infinito\Attribut\RightAttributInterface;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\SlugAttributInterface;
|
||||
use Infinito\Attribut\SlugAttribut;
|
||||
use Infinito\Attribut\SlugAttributInterface;
|
||||
use Infinito\Exception\Validation\ValueInvalidException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\TextAttributInterface;
|
||||
use Infinito\Attribut\TextAttribut;
|
||||
use Infinito\Attribut\TextAttributInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Attribut;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\UserAttributInterface;
|
||||
use Infinito\Attribut\UserAttribut;
|
||||
use Infinito\Attribut\UserAttributInterface;
|
||||
use Infinito\Entity\UserInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Infinito\Tests\Unit\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
use Infinito\Controller\DefaultController;
|
||||
use Infinito\DBAL\Types\RESTResponseType;
|
||||
use Infinito\Domain\Fixture\FixtureSource\ImpressumFixtureSource;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace tests\Unit\DBAL\Types;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -4,14 +4,14 @@ namespace tests\Integration\Domain\AccessManagement;
|
||||
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\DataAccess\ActionsResultsDAOService;
|
||||
use Infinito\Domain\DataAccess\ActionsResultsDAOServiceInterface;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Infinito\Logic\Result\ResultInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Exception\Collection\ContainsElementException;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
use Infinito\Exception\Type\InvalidChoiceTypeException;
|
||||
use Infinito\Domain\DataAccess\ActionsResultsDAOServiceInterface;
|
||||
use Infinito\Exception\Validation\ValueInvalidException;
|
||||
use Infinito\Logic\Result\ResultInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,15 +2,15 @@
|
||||
|
||||
namespace tests\Unit\Domain\Action;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Action\ActionFactoryService;
|
||||
use Infinito\Domain\Action\ActionDependenciesDAOServiceInterface;
|
||||
use Infinito\Domain\Action\ActionFactoryService;
|
||||
use Infinito\Domain\Action\ActionInterface;
|
||||
use Infinito\Domain\Layer\LayerActionMap;
|
||||
use Infinito\Domain\Request\Action\RequestedAction;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Layer\LayerActionMap;
|
||||
use Infinito\Domain\Request\User\RequestedUser;
|
||||
use Infinito\Domain\User\UserSourceDirectorInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,22 +2,22 @@
|
||||
|
||||
namespace tests\Unit\Domain\Action;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Action\ActionDependenciesDAOService;
|
||||
use Infinito\Domain\Request\Action\RequestedActionInterface;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Domain\Action\ActionDependenciesDAOService;
|
||||
use Infinito\Domain\Action\ActionDependenciesDAOServiceInterface;
|
||||
use Infinito\Repository\RepositoryInterface;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Infinito\Domain\Form\RequestedActionFormBuilderServiceInterface;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Domain\Request\Action\RequestedActionInterface;
|
||||
use Infinito\Domain\Request\Action\RequestedActionServiceInterface;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Domain\Secure\SecureRequestedRightCheckerServiceInterface;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Infinito\Repository\RepositoryInterface;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace tests\Unit\Domain\Action\Read;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Action\ActionInterface;
|
||||
use Infinito\Domain\Action\AbstractAction;
|
||||
use Infinito\Domain\Action\ActionDependenciesDAOServiceInterface;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use Infinito\Domain\Action\ActionInterface;
|
||||
use Infinito\Exception\Validation\FormInvalidException;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -3,14 +3,14 @@
|
||||
namespace tests\Unit\Domain\SecureCRUDManagement\CRUD\Read;
|
||||
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Action\Read\ReadAction;
|
||||
use Infinito\Domain\Action\ActionDependenciesDAOServiceInterface;
|
||||
use Infinito\Domain\Action\Read\ReadAction;
|
||||
use Infinito\Domain\Action\Read\ReadActionInterface;
|
||||
use Infinito\Domain\Request\Action\RequestedActionInterface;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Exception\Permission\NoPermissionException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,28 +2,28 @@
|
||||
|
||||
namespace tests\Unit\Domain\Dom;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\GrantAttributInterface;
|
||||
use Infinito\Attribut\IdAttribut;
|
||||
use Infinito\Attribut\IdAttributInterface;
|
||||
use Infinito\Attribut\RightsAttributInterface;
|
||||
use Infinito\Attribut\SlugAttributInterface;
|
||||
use Infinito\Attribut\SourceAttributInterface;
|
||||
use Infinito\Attribut\UserAttributInterface;
|
||||
use Infinito\Attribut\VersionAttribut;
|
||||
use Infinito\Attribut\VersionAttributInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Dom\EntityDomService;
|
||||
use Infinito\Domain\Dom\EntityDomServiceInterface;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityServiceInterface;
|
||||
use Infinito\Domain\Dom\EntityDomService;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Attribut\SlugAttributInterface;
|
||||
use Infinito\Attribut\IdAttributInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Attribut\VersionAttributInterface;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Attribut\SourceAttributInterface;
|
||||
use Infinito\Attribut\GrantAttributInterface;
|
||||
use Infinito\Attribut\RightsAttributInterface;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Infinito\Attribut\VersionAttribut;
|
||||
use Infinito\Attribut\IdAttribut;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Attribut\UserAttributInterface;
|
||||
use Infinito\Exception\Core\NotCorrectInstanceCoreException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace tests\Unit\Domain\Fixture;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Fixture\FixtureSource\GuestUserFixtureSource;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\Unit\Domain\Form;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\Form\FormClassNameService;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace tests\Unit\Domain\Form;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\Action\RequestedActionInterface;
|
||||
use Infinito\Domain\Form\RequestedActionFormBuilder;
|
||||
use Infinito\Domain\Form\FormClassNameServiceInterface;
|
||||
use Symfony\Component\Form\FormFactoryInterface;
|
||||
use Infinito\Domain\Form\RequestedActionFormBuilder;
|
||||
use Infinito\Domain\Request\Action\RequestedActionInterface;
|
||||
use Infinito\Exception\Attribut\UndefinedAttributException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\Form\FormFactoryInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,19 +2,19 @@
|
||||
|
||||
namespace Unit\Domain\Law;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Law\LawPermissionChecker;
|
||||
use Infinito\Domain\Law\LawPermissionCheckerInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Domain\Source\SourceMemberManager;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Meta\LawInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Domain\Source\SourceMemberManager;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\Unit\Domain\Layer;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\Layer\LayerActionMap;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Layer\LayerActionMap;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace tests\Unit\Domain\Layer;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Layer\LayerInterfaceMap;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\Unit\Domain\Map;
|
||||
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\Map\ActionHttpMethodMap;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Infinito\Domain\Map\ActionHttpMethodMap;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace Tests\Unit\Domain\Member;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Member\MemberManagerInterface;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelation;
|
||||
use Infinito\Domain\Member\MemberManager;
|
||||
use Infinito\Domain\Member\MemberManagerInterface;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelation;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class MemberManagerTest extends TestCase
|
||||
{
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace tests\Unit\Domain\Parameter\Parameter;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace tests\Unit\Domain\Parameter\Parameter;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Parameter\Parameter\ViewParameter;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\Parameter\Parameter\ViewParameter;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\Unit\Domain\Parameter;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Parameter\ParameterFactory;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
use Infinito\Domain\Parameter\ParameterFactory;
|
||||
use Infinito\Exception\Core\NotImplementedCoreException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,18 +2,18 @@
|
||||
|
||||
namespace tests\Unit\Domain\Parameter;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
use Infinito\Domain\Parameter\ParameterFactory;
|
||||
use Infinito\Domain\Parameter\ValidGetParametersService;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||
use Infinito\Domain\Parameter\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\Parameter\Parameter\ViewParameter;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
use Infinito\Domain\Parameter\Parameter\ViewParameter;
|
||||
use Infinito\Domain\Parameter\ParameterFactory;
|
||||
use Infinito\Domain\Parameter\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\Parameter\ValidGetParametersService;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
use Infinito\Exception\Core\NotImplementedCoreException;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||
|
||||
/**
|
||||
* This class is a bit messed up because it is an recycled class of an other unit.
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace tests\Unit\Domain\Path;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Path\NamespacePathMapInterface;
|
||||
use Infinito\Domain\Path\NamespacePathMap;
|
||||
use Infinito\Domain\Path\NamespacePathMapInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace tests\Unit\Domain\Repository;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryService;
|
||||
use Infinito\Repository\RepositoryInterface;
|
||||
use Infinito\Domain\Layer\LayerClassMap;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryService;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
use Infinito\Repository\RepositoryInterface;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace tests\Unit\Domain\Request\Action;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\Action\RequestedActionService;
|
||||
use Infinito\Domain\Request\Action\RequestedActionServiceInterface;
|
||||
use Infinito\Domain\Request\User\RequestedUserServiceInterface;
|
||||
use Infinito\Domain\User\UserSourceDirectorInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,17 +2,17 @@
|
||||
|
||||
namespace tests\Unit\Domain\Request\Action;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Request\Action\RequestedAction;
|
||||
use Infinito\Domain\Request\Action\RequestedActionInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Request\Action\RequestedAction;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Repository\Source\SourceRepositoryInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\User\UserSourceDirector;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Domain\Request\User\RequestedUser;
|
||||
use Infinito\Domain\User\UserSourceDirector;
|
||||
use Infinito\Entity\Source\Complex\UserSourceInterface;
|
||||
use Infinito\Repository\Source\SourceRepositoryInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,15 +2,15 @@
|
||||
|
||||
namespace tests\Unit\Domain\Request\Entity;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Domain\Request\Entity\LazyRequestedEntity;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Repository\RepositoryInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Repository\Source\SourceRepositoryInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Domain\Request\Entity\LazyRequestedEntity;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Repository\RepositoryInterface;
|
||||
use Infinito\Repository\Source\SourceRepositoryInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class LazyRequestedEntityTest extends TestCase
|
||||
{
|
||||
|
@@ -2,18 +2,18 @@
|
||||
|
||||
namespace tests\Unit\Domain\Request\Entity;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntity;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Repository\RepositoryInterface;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntity;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Exception\Attribut\AllreadyDefinedAttributException;
|
||||
use Infinito\Exception\Attribut\UndefinedAttributException;
|
||||
use Infinito\Exception\Core\NoIdentityCoreException;
|
||||
use Infinito\Exception\Attribut\AllreadyDefinedAttributException;
|
||||
use Infinito\Exception\Core\NotCorrectInstanceCoreException;
|
||||
use Infinito\Repository\RepositoryInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,31 +2,26 @@
|
||||
|
||||
namespace tests\Unit\Domain\Right\User;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Domain\Request\User\RequestedUser;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Domain\User\UserSourceDirectorInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\Request\Right\AbstractRequestedRightFacade;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Fixture\FixtureSource\ImpressumFixtureSource;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Domain\Request\Right\AbstractRequestedRightFacade;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Domain\Request\User\RequestedUser;
|
||||
use Infinito\Domain\User\UserSourceDirectorInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Exception\Collection\NotPossibleSetElementException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class AbstractRequestedRightFacadeTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @param RequestedRightInterface $requestedRight
|
||||
*
|
||||
* @return AbstractRequestedRightFacade
|
||||
*/
|
||||
private function getRequestedRightFacade(RequestedRightInterface $requestedRight): AbstractRequestedRightFacade
|
||||
{
|
||||
return new class($requestedRight) extends AbstractRequestedRightFacade {
|
||||
|
@@ -2,22 +2,22 @@
|
||||
|
||||
namespace tests\Unit\Domain\Request\Right;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Fixture\FixtureSource\ImpressumFixtureSource;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryService;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntity;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryService;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\Fixture\FixtureSource\ImpressumFixtureSource;
|
||||
use Infinito\Exception\Core\NoIdentityCoreException;
|
||||
use Infinito\Exception\Collection\ContainsElementException;
|
||||
use Infinito\Exception\Core\NoIdentityCoreException;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace tests\Unit\Domain\Request\User;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\User\RequestedUserService;
|
||||
use Infinito\Domain\User\UserSourceDirectorServiceInterface;
|
||||
use Infinito\Domain\Request\User\RequestedUserServiceInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRightServiceInterface;
|
||||
use Infinito\Domain\Request\User\RequestedUserService;
|
||||
use Infinito\Domain\Request\User\RequestedUserServiceInterface;
|
||||
use Infinito\Domain\User\UserSourceDirectorServiceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,21 +2,21 @@
|
||||
|
||||
namespace tests\Unit\Domain\Right\User;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Domain\Request\User\RequestedUser;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Domain\User\UserSourceDirectorInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\User\UserSourceDirector;
|
||||
use Infinito\Repository\Source\SourceRepositoryInterface;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Fixture\FixtureSource\ImpressumFixtureSource;
|
||||
use Infinito\Exception\Core\NotCorrectInstanceCoreException;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Domain\Request\User\RequestedUser;
|
||||
use Infinito\Domain\User\UserSourceDirector;
|
||||
use Infinito\Domain\User\UserSourceDirectorInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Exception\Collection\NotPossibleSetElementException;
|
||||
use Infinito\Exception\Core\NotCorrectInstanceCoreException;
|
||||
use Infinito\Repository\Source\SourceRepositoryInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,15 +2,15 @@
|
||||
|
||||
namespace Tests\Unit\Domain\Right;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Right\RightCheckerInterface;
|
||||
use Infinito\Domain\Right\RightChecker;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Right\RightChecker;
|
||||
use Infinito\Domain\Right\RightCheckerInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace tests\Unit\Domain\Right;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Right\RightLayerCombinationServiceInterface;
|
||||
use Infinito\Domain\Right\RightLayerCombinationService;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Right\RightLayerCombinationService;
|
||||
use Infinito\Domain\Right\RightLayerCombinationServiceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace tests\Unit\Domain\Right;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\Right\RightTransformerService;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Right\RightTransformerService;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,16 +2,16 @@
|
||||
|
||||
namespace tests\Unit\Domain\Secure;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Domain\Secure\SecureRequestedRightCheckerService;
|
||||
use Infinito\Domain\Right\RightTransformerService;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Infinito\Domain\Right\RightTransformerService;
|
||||
use Infinito\Domain\Secure\SecureRequestedRightCheckerService;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,17 +2,17 @@
|
||||
|
||||
namespace Tests\Unit\Domain\Secure;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\Secure\SecureSourceCheckerInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Domain\Secure\SecureSourceChecker;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Attribut\SourceAttribut;
|
||||
use Infinito\Attribut\SourceAttributInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Secure\SecureSourceChecker;
|
||||
use Infinito\Domain\Secure\SecureSourceCheckerInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Exception\Permission\NoSourcePermissionException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -34,9 +34,6 @@ class SecureSourceCheckerTest extends TestCase
|
||||
*/
|
||||
private $securerSourceChecker;
|
||||
|
||||
/**
|
||||
* @return SourceInterface
|
||||
*/
|
||||
private function createSourceMock(): SourceInterface
|
||||
{
|
||||
return new class() extends AbstractSource implements SourceAttributInterface {
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace tests\Unit\Domain\Source;
|
||||
|
||||
use Infinito\Domain\Source\SourceClassInformationServiceInterface;
|
||||
use Infinito\Domain\Source\SourceClassInformationService;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Domain\Source\SourceClassInformationServiceInterface;
|
||||
use Infinito\Entity\Source\Complex\AbstractComplexSource;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,16 +2,16 @@
|
||||
|
||||
namespace Tests\Unit\Domain\Source;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Infinito\Entity\Source\Primitive\Text\TextSource;
|
||||
use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSource;
|
||||
use Infinito\Domain\Source\SourceMemberInformation;
|
||||
use Infinito\Domain\Source\SourceMemberInformationInterface;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSource;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
|
||||
use Infinito\Entity\Source\Primitive\Text\TextSource;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class SourceMemberInformationTest extends TestCase
|
||||
{
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace Tests\Unit\Domain\Source;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\Source\SourceMemberManagerInterface;
|
||||
use Infinito\Domain\Source\SourceMemberManager;
|
||||
use Infinito\Domain\Source\SourceMemberManagerInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class SourceMemberManagerTest extends TestCase
|
||||
{
|
||||
|
@@ -2,15 +2,15 @@
|
||||
|
||||
namespace Tests\Unit\Domain\Source;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Source\SourceMembershipInformationInterface;
|
||||
use Infinito\Domain\Source\SourceMembershipInformation;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Infinito\Entity\Source\Primitive\Text\TextSource;
|
||||
use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Domain\Source\SourceMembershipInformation;
|
||||
use Infinito\Domain\Source\SourceMembershipInformationInterface;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSource;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
|
||||
use Infinito\Entity\Source\Primitive\Text\TextSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class SourceMembershipInformationTest extends TestCase
|
||||
{
|
||||
|
@@ -2,17 +2,17 @@
|
||||
|
||||
namespace Unit\Domain\Source;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\Source\SourceRightManagerInterface;
|
||||
use Infinito\Domain\Source\SourceRightManager;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Domain\Source\SourceRightManagerInterface;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Exception\Collection\ContainsElementException;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Exception\Attribut\AllreadyDefinedAttributException;
|
||||
use Infinito\Exception\Collection\ContainsElementException;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace Tests\Unit\Domain\Source;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Domain\Source\TreeSourceInformation;
|
||||
use Infinito\Domain\Source\TreeSourceInformationInterface;
|
||||
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Domain\Source\TreeSourceInformationInterface;
|
||||
use Infinito\Domain\Source\TreeSourceInformation;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class TreeSourceInformationTest extends TestCase
|
||||
{
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace tests\Unit\Domain\Template;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Template\TemplateNameServiceInterface;
|
||||
use Infinito\Domain\Template\TemplateNameService;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityServiceInterface;
|
||||
use Infinito\Domain\Request\Action\RequestedActionServiceInterface;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityServiceInterface;
|
||||
use Infinito\Domain\Template\TemplateNameService;
|
||||
use Infinito\Domain\Template\TemplateNameServiceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace tests\Unit\Domain\Twig;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Twig\ActionIconClassMapInterface;
|
||||
use Infinito\Domain\Twig\ActionIconClassMap;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\Twig\ActionIconClassMap;
|
||||
use Infinito\Domain\Twig\ActionIconClassMapInterface;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\Unit\Domain\Twig;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Twig\LayerIconClassMap;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\Twig\LayerIconClassMap;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -4,8 +4,8 @@ namespace tests\Unit\Domain\User;
|
||||
|
||||
use Infinito\Domain\User\UserSourceDirectorInterface;
|
||||
use Infinito\Domain\User\UserSourceDirectorService;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\User;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\Security\Core\Security;
|
||||
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace Tests\Unit\Domain\User;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Domain\User\UserSourceDirector;
|
||||
use Infinito\Repository\Source\SourceRepository;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Domain\Fixture\FixtureSource\GuestUserFixtureSource;
|
||||
use Infinito\Domain\User\UserSourceDirector;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Repository\Source\SourceRepository;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace tests\unit\Entity;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Infinito\Entity\AbstractEntity;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class AbstractEntityTest extends TestCase
|
||||
{
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace tests\unit\Entity\Meta;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Entity\Meta\LawInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Meta\LawInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class LawTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Entity\Meta\Relation\Member;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelation;
|
||||
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class MemberRelationTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\Unit\Entity\Meta;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Meta\Relation\Parent\AbstractParentRelation;
|
||||
use Infinito\Entity\Meta\Relation\Parent\ParentRelationInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class AbstractParentRelationTest extends TestCase
|
||||
{
|
||||
|
@@ -2,14 +2,14 @@
|
||||
|
||||
namespace tests\unit\Entity;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Entity\Meta\Law;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Exception\Type\InvalidChoiceTypeException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @todo Implement reciever test
|
||||
|
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace tests\unit\Entity\Source;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Meta\LawInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Infinito\Entity\Meta\LawInterface;
|
||||
use Infinito\Entity\Meta\Relation\Parent\CreatorRelationInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Entity\Source\Complex\Collection;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\Complex\Collection\CollectionSourceInterface;
|
||||
use Infinito\Entity\Source\Complex\Collection\AbstractCollectionSource;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Source\Complex\Collection\AbstractCollectionSource;
|
||||
use Infinito\Entity\Source\Complex\Collection\CollectionSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class AbstractCollectionSourceTest extends TestCase
|
||||
{
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace Tests\Unit\Entity\Source\Complex\Collection;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource;
|
||||
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace tests\unit\Entity\Source\Complex;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSource;
|
||||
use Infinito\Entity\Source\Primitive\Name\SurnameSourceInterface;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
|
||||
use Infinito\Entity\Source\Primitive\Name\FirstNameSourceInterface;
|
||||
use Infinito\Entity\Source\Primitive\Name\SurnameSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class FullPersonNameSourceTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\unit\Entity\Source\Complex;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
|
||||
use Infinito\Entity\Source\Complex\PersonIdentitySource;
|
||||
use Infinito\Entity\Source\Complex\FullPersonNameSourceInterface;
|
||||
use Infinito\Entity\Source\Complex\PersonIdentitySource;
|
||||
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class PersonIdentitySourceTest extends TestCase
|
||||
{
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace tests\unit\Entity\Source\Complex;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\Complex\UserSourceInterface;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Source\Complex\PersonIdentitySourceInterface;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Infinito\Entity\Source\Complex\UserSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class UserSourceTest extends TestCase
|
||||
{
|
||||
|
@@ -2,15 +2,15 @@
|
||||
|
||||
namespace tests\unit\Entity\Source\Operand;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Source\Operation\AbstractOperation;
|
||||
use Infinito\Entity\Source\Operation\OperationInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Logic\Operation\OperandInterface;
|
||||
use Infinito\Logic\Result\ResultInterface;
|
||||
use Infinito\Logic\Result\Result;
|
||||
use Infinito\Exception\Deprecated\NotProcessedException;
|
||||
use Infinito\Logic\Operation\OperandInterface;
|
||||
use Infinito\Logic\Result\Result;
|
||||
use Infinito\Logic\Result\ResultInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,14 +2,14 @@
|
||||
|
||||
namespace tests\unit\Entity\Source\Operation;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Logic\Result\Result;
|
||||
use Infinito\Logic\Operation\OperandInterface;
|
||||
use Infinito\Logic\Result\ResultInterface;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Entity\Source\Operation\OperationInterface;
|
||||
use Infinito\Entity\Source\Operation\AndOperation;
|
||||
use Infinito\Entity\Source\Operation\OperationInterface;
|
||||
use Infinito\Exception\Attribut\UndefinedAttributException;
|
||||
use Infinito\Logic\Operation\OperandInterface;
|
||||
use Infinito\Logic\Result\Result;
|
||||
use Infinito\Logic\Result\ResultInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class AndOperationTest extends TestCase
|
||||
{
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace tests\unit\Entity\Source\Primitive;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\Primitive\Name\NameSourceInterface;
|
||||
use Infinito\Entity\Source\Primitive\Name\AbstractNameSource;
|
||||
use Infinito\Entity\Source\Primitive\Name\NameSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace Tests\Unit\Entity\Source\Primitive\Text;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Source\Primitive\Text\TextSourceInterface;
|
||||
use Infinito\Entity\Source\Primitive\Text\TextSource;
|
||||
use Infinito\Entity\Source\Primitive\Text\TextSourceInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class TextSourceTest extends TestCase
|
||||
{
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Entity\Source;
|
||||
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Entity\Source\PureSourceInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace tests\unit\Entity;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Entity\Source\Complex\UserSource;
|
||||
use Infinito\Entity\User;
|
||||
use Infinito\Entity\UserInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Event;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Event\Menu\MenuEvent;
|
||||
use Knp\Menu\FactoryInterface;
|
||||
use Knp\Menu\ItemInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
|
||||
class MenuEventTest extends TestCase
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace Tests\Unit\Form;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Form\AbstractType;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace tests\Unit\Form\Source;
|
||||
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Form\Entity\Source\PureSourceCreateType;
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace Tests\Unit\Form;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Form\AbstractType;
|
||||
use Infinito\Form\UserSourceType;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
use Infinito\Form\UserSourceType;
|
||||
|
||||
/**
|
||||
* This class just exists to keep the code coverage high.
|
||||
|
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace Tests\Unit\Form;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Form\AbstractType;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
use Infinito\Form\UserType;
|
||||
use Symfony\Component\Form\FormBuilder;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\Form\FormBuilder;
|
||||
use Symfony\Component\Form\FormFactoryInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
|
||||
/**
|
||||
* This class just exists to keep the code coverage high.
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace Tests\Unit\Logic;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Logic\Result\ResultInterface;
|
||||
use Infinito\Logic\Result\Result;
|
||||
use Infinito\Logic\Result\ResultInterface;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ResultTest extends TestCase
|
||||
{
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace tests\Unit\Repository\Source;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Infinito\Repository\Source\SourceRepositoryInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\Fixture\FixtureSource\ImpressumFixtureSource;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Repository\Source\SourceRepositoryInterface;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user