PHP Classes

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

Recommend this page to a friend!
  Classes of Nicola Pietroluongo  >  Fakerino  >  tests/Fakerino/Test/Configuration/Exception/ConfValueNotFoundExceptionTest.php  >  Download  
File: tests/Fakerino/Test/Configuration/Exception/ConfValueNotFoundExceptionTest.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: 6 years ago
Size: 855 bytes


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

namespace Fakerino\Test\Configuration\Exception;


ConfValueNotFoundExceptionTest extends \PHPUnit_Framework_TestCase
    public function
$value = 'test';
$e = new ConfValueNotFoundException($value);
$message = sprintf('
            The configuration value "%s" is not present,
            be sure the configuration is loaded and the value is defined
, $value);

$this->assertEquals($message, $e->getMessage(), 'A message should be generated');

For more information send a message to info at phpclasses dot org.