PHP Класс SwaggerContext

Наследование: implements Behat\Behat\Context\Context
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( )
assertNbOperationsExist ( $nb, $className )
assertNbPropertiesExist ( $nb, $className )
assertNodeValueIs ( $nodeName, $className, $value )
assertOperationNodeValueIs ( $nodeName, $operationMethod, $className, $value )
assertPropertyExist ( $propertyName, $className )
assertPropertyIsRequired ( string $propertyName, string $className )
assertPropertyNodeValueIs ( $nodeName, $propertyName, $className, $value )
assertThePathExist ( $path )
assertTheSwaggerClassExist ( $className )
assertTheSwaggerClassNotExist ( $className )
gatherContexts ( Behat\Behat\Hook\Scope\BeforeScenarioScope $scope ) Gives access to the Behatch context.

Приватные методы

Метод Описание
getClassInfos ( string $className ) : stdClass
getLastJsonResponse ( ) : stdClass
getOperation ( string $method, string $className ) : stdClass Gets an operation by its method name.
getOperations ( string $className ) : stdClass Gets all operations of a given class.
getProperties ( string $className ) : stdClass Gets all properties of a given class.
getProperty ( string $propertyName, string $className ) : stdClass

Описание методов

__construct() публичный Метод

public __construct ( )

assertNbOperationsExist() публичный Метод

public assertNbOperationsExist ( $nb, $className )

assertNbPropertiesExist() публичный Метод

public assertNbPropertiesExist ( $nb, $className )

assertNodeValueIs() публичный Метод

public assertNodeValueIs ( $nodeName, $className, $value )

assertOperationNodeValueIs() публичный Метод

public assertOperationNodeValueIs ( $nodeName, $operationMethod, $className, $value )

assertPropertyExist() публичный Метод

public assertPropertyExist ( $propertyName, $className )

assertPropertyIsRequired() публичный Метод

public assertPropertyIsRequired ( string $propertyName, string $className )
$propertyName string
$className string

assertPropertyNodeValueIs() публичный Метод

public assertPropertyNodeValueIs ( $nodeName, $propertyName, $className, $value )

assertThePathExist() публичный Метод

public assertThePathExist ( $path )

assertTheSwaggerClassExist() публичный Метод

public assertTheSwaggerClassExist ( $className )

assertTheSwaggerClassNotExist() публичный Метод

public assertTheSwaggerClassNotExist ( $className )

gatherContexts() публичный Метод

Gives access to the Behatch context.
public gatherContexts ( Behat\Behat\Hook\Scope\BeforeScenarioScope $scope )
$scope Behat\Behat\Hook\Scope\BeforeScenarioScope