PHP Class AllergyTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: openeyes/openeyes

Public Properties

Property Type Description
$fixtures
$model AddressType

Public Methods

Method Description
dataProvider_Search ( )
testAttributeLabels ( )
testModel ( )
testSearch_WithValidTerms_ReturnsExpectedResults ( $searchTerms, $numResults, $expectedKeys )
testTableName ( )

Protected Methods

Method Description
setUp ( ) Sets up the fixture, for example, opens a network connection.

Method Details

setUp() protected method

This method is called before a test is executed.
protected setUp ( )

testAttributeLabels() public method

public testAttributeLabels ( )

testModel() public method

public testModel ( )

testSearch_WithValidTerms_ReturnsExpectedResults() public method

public testSearch_WithValidTerms_ReturnsExpectedResults ( $searchTerms, $numResults, $expectedKeys )

testTableName() public method

public testTableName ( )

Property Details

$fixtures public property

public $fixtures

$model public property

public AddressType $model
return AddressType