Overview

Namespaces

  • Crunchmail
    • Collections
    • Entities
    • Exception
    • PHPUnit
    • Resources

Classes

  • IsEntityConstraint
  • IsGenericCollectionConstraint
  • IsGenericEntityConstraint
  • IsGenericResourceConstraint
  • IsResourceConstraint
  • TestCase
  • Overview
  • Namespace
  • Class

Class TestCase

Test class

PHPUnit_Framework_TestCase
Extended by Crunchmail\PHPUnit\TestCase
Abstract
Namespace: Crunchmail\PHPUnit
Located at PHPUnit/TestCase.php
Methods summary
public Crunchmail\Client
# quickMock( )

Shortcut to get a quick mocked client

Shortcut to get a quick mocked client

Returns

Crunchmail\Client
public
# mockClient( $handler )

Create a mocked client

Create a mocked client

public
# mockHandler( )

Create a mocked handler

Create a mocked handler

Suppresswarnings(phpmd)

public
# getTemplate( $tpl )
public
# getStdTemplate( $tpl )
public
# getSentBody( integer $ind )

Return the $ind body sent in the history

Return the $ind body sent in the history

Parameters

$ind
indice
public
# getHistory( )
public
# methodsProvider( )
public
# getHistoryRequest( $ind )
public
# getHistoryContent( $ind, $decode = true )

Suppresswarnings(phpmd)

public static
# assertGenericEntity( $other )
public static
# assertGenericResource( $other )
public static
# assertGenericCollection( $other )
public static
# assertEntity( $type, $other )
public static
# assertResource( $type, $other )
public static
# isGenericResource( )
public static
# isGenericCollection( )
public static
# isGenericEntity( )
public static
# isEntity( $type )
public static
# isResource( $type )
API documentation generated by ApiGen