mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-04 11:17:58 +00:00 
			
		
		
		
	Implemented test for RequestedActionService
This commit is contained in:
		@@ -0,0 +1,21 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace tests\Unit\Domain\RequestManagement\Action;
 | 
			
		||||
 | 
			
		||||
use PHPUnit\Framework\TestCase;
 | 
			
		||||
use App\Domain\RequestManagement\Right\RequestedRightServiceInterface;
 | 
			
		||||
use App\Domain\RequestManagement\Action\RequestedActionService;
 | 
			
		||||
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @author kevinfrantz
 | 
			
		||||
 */
 | 
			
		||||
class RequestedActionServiceTest extends TestCase
 | 
			
		||||
{
 | 
			
		||||
    public function testConstructorSet(): void
 | 
			
		||||
    {
 | 
			
		||||
        $requestedRightService = $this->createMock(RequestedRightServiceInterface::class);
 | 
			
		||||
        $service = new RequestedActionService($requestedRightService);
 | 
			
		||||
        $this->assertInstanceOf(RequestedActionServiceInterface::class, $service);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user