PHP Class Sanpi\Behatch\Context\BaseContext

Inheritance: extends Behat\MinkExtension\Context\RawMinkContext, implements Behat\Behat\Context\TranslatableContext
ファイルを表示 Open project: behatch/contexts

Public Methods

Method Description
castToInt ( $count )
getTranslationResources ( )

Protected Methods

Method Description
assert ( $test, $message )
assertArrayHasKey ( $key, $array, $message = null )
assertArrayNotHasKey ( $key, $array, $message = null )
assertContains ( $expected, $actual, $message = null )
assertCount ( $expected, array $elements, $message = null )
assertEquals ( $expected, $actual, $message = null )
assertFalse ( $value, $message = 'The value is true' )
assertNotContains ( $expected, $actual, $message = null )
assertSame ( $expected, $actual, $message = null )
assertTrue ( $value, $message = 'The value is false' )
countElements ( $element, $index, $parent )
findElement ( $selector, $locator, $index )
getMinkContext ( )
not ( callable $callbable, $errorMessage )

Method Details

assert() protected method

protected assert ( $test, $message )

assertArrayHasKey() protected method

protected assertArrayHasKey ( $key, $array, $message = null )

assertArrayNotHasKey() protected method

protected assertArrayNotHasKey ( $key, $array, $message = null )

assertContains() protected method

protected assertContains ( $expected, $actual, $message = null )

assertCount() protected method

protected assertCount ( $expected, array $elements, $message = null )
$elements array

assertEquals() protected method

protected assertEquals ( $expected, $actual, $message = null )

assertFalse() protected method

protected assertFalse ( $value, $message = 'The value is true' )

assertNotContains() protected method

protected assertNotContains ( $expected, $actual, $message = null )

assertSame() protected method

protected assertSame ( $expected, $actual, $message = null )

assertTrue() protected method

protected assertTrue ( $value, $message = 'The value is false' )

castToInt() public method

public castToInt ( $count )

countElements() protected method

protected countElements ( $element, $index, $parent )

findElement() protected method

protected findElement ( $selector, $locator, $index )

getMinkContext() protected method

protected getMinkContext ( )

getTranslationResources() public static method

public static getTranslationResources ( )

not() protected method

protected not ( callable $callbable, $errorMessage )
$callbable callable