You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							582 B
						
					
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							582 B
						
					
					
				<?php
 | 
						|
 | 
						|
namespace Tests\Unit;
 | 
						|
 | 
						|
use PHPUnit\Framework\TestCase;
 | 
						|
 | 
						|
use App\Models\Validation\Messages\OkInformativeValidator;
 | 
						|
 | 
						|
class OkInformativeValidatorTest extends TestCase
 | 
						|
{
 | 
						|
    public function testIsValid(): void
 | 
						|
    {
 | 
						|
        $message = 'All fine';
 | 
						|
        $validator = new OkInformativeValidator($message);
 | 
						|
 | 
						|
        $this->assertTrue($validator->isValid());
 | 
						|
    }
 | 
						|
 | 
						|
    public function testGetMessage(): void
 | 
						|
    {
 | 
						|
        $message = 'All fine';
 | 
						|
        $validator = new OkInformativeValidator($message);
 | 
						|
 | 
						|
        $this->assertEquals($validator->getMessage(), $message);
 | 
						|
    }
 | 
						|
}
 |