PHP Classes

File: tests/Fakerino/Test/Configuration/Exception/ConfNotSupportedExceptionTest.php

Recommend this page to a friend!
  Classes of Nicola Pietroluongo   Fakerino   tests/Fakerino/Test/Configuration/Exception/ConfNotSupportedExceptionTest.php   Download  
File: tests/Fakerino/Test/Configuration/Exception/ConfNotSupportedExceptionTest.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: Fakerino
Generate fake names and other types of fake data
Author: By
Last change:
Date: 8 years ago
Size: 684 bytes
 

Contents

Class file image Download
<?php
/**
 * This file is part of the Fakerino package.
 *
 * (c) Nicola Pietroluongo <nik.longstone@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Fakerino\Test\Configuration\Exception;

use
Fakerino\Configuration\Exception\ConfNotSupportedException;

class
ConfNotSupportedExceptionTest extends \PHPUnit_Framework_TestCase
{
    public function
testConfNotSupportedException()
    {
       
$e = new ConfNotSupportedException('file');

       
$this->assertEquals('The configuration file "file" is not supported', $e->getMessage(), 'A message should be generated');
    }
}