mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-03 18:58:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			528 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			528 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace tests\Unit\Domain\FormManagement;
 | 
						|
 | 
						|
use PHPUnit\Framework\TestCase;
 | 
						|
use App\Domain\FormManagement\FormClassNameService;
 | 
						|
use App\Entity\Source\PureSource;
 | 
						|
 | 
						|
/**
 | 
						|
 * @author kevinfrantz
 | 
						|
 */
 | 
						|
class FormClassNameServiceTest extends TestCase
 | 
						|
{
 | 
						|
    public function testGetName()
 | 
						|
    {
 | 
						|
        $entity = new PureSource();
 | 
						|
        $formNameService = new FormClassNameService();
 | 
						|
        $entityForm = $formNameService->getName($entity);
 | 
						|
        $this->assertEquals('App\\Form\\Source\\PureSourceType', $entityForm);
 | 
						|
    }
 | 
						|
}
 |