~ubuntu-branches/ubuntu/saucy/php-horde-kolab-format/saucy

« back to all changes in this revision

Viewing changes to Horde_Kolab_Format-2.0.2/test/Horde/Kolab/Format/Unit/Exception/MissingUidTest.php

  • Committer: Package Import Robot
  • Author(s): Mathieu Parent
  • Date: 2013-01-10 20:10:54 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130110201054-5pr1qia2dj6bikvf
Tags: 2.0.2-1
New upstream version 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Test the MissingUid exception.
 
4
 *
 
5
 * PHP version 5
 
6
 *
 
7
 * @category   Kolab
 
8
 * @package    Kolab_Format
 
9
 * @subpackage UnitTests
 
10
 * @author     Gunnar Wrobel <wrobel@pardus.de>
 
11
 * @license    http://www.horde.org/licenses/lgpl21 LGPL 2.1
 
12
 * @link       http://www.horde.org/libraries/Horde_Kolab_Format
 
13
 */
 
14
 
 
15
/**
 
16
 * Test the MissingUid exception.
 
17
 *
 
18
 * Copyright 2011-2013 Horde LLC (http://www.horde.org/)
 
19
 *
 
20
 * See the enclosed file COPYING for license information (LGPL). If you
 
21
 * did not receive this file, see http://www.horde.org/licenses/lgpl21.
 
22
 *
 
23
 * @category   Kolab
 
24
 * @package    Kolab_Format
 
25
 * @subpackage UnitTests
 
26
 * @author     Gunnar Wrobel <wrobel@pardus.de>
 
27
 * @license    http://www.horde.org/licenses/lgpl21 LGPL 2.1
 
28
 * @link       http://www.horde.org/libraries/Horde_Kolab_Format
 
29
 */
 
30
class Horde_Kolab_Format_Unit_Exception_MissingUidTest
 
31
extends PHPUnit_Framework_TestCase
 
32
{
 
33
    public function testMissingUidTest()
 
34
    {
 
35
        $exception = new Horde_Kolab_Format_Exception_MissingUid();
 
36
        $this->assertEquals(
 
37
            'No UID in the Kolab XML object!',
 
38
            $exception->getMessage()
 
39
        );
 
40
    }
 
41
}