# NPSBridgeTest

Extends \PHPUnit\Framework\TestCase

Tests NPSBridge and NPSCore integration

author | Lukas Korinek
package | Default

### Methods

## Asserts that the time elapsed since last stopwatch call is smaller than a particular time

    assertInTime( $milliseconds)

inherited

### Arguments

#### $milliseconds

``

Maximal time in milliseconds

## get

    get( $language = 'cs-CZ') : \NPS\DependencyInjection\NPSBridge

### Arguments

#### $language

``

### Response

`\NPS\DependencyInjection\NPSBridge`

## setUp

    setUp()

inherited

inheritDoc |

## Updates internally stored timestamp

    stopwatch()

inherited

## testBack

    testBack()

depends | testSetAnswer

## testConvertBaseFormat

    testConvertBaseFormat()

## testEndConsultation

    testEndConsultation()

depends | testStartConsultation

## testForward

    testForward()

depends | testBack

## testGetHypothesis

    testGetHypothesis()

depends | testGetQuestion

## testGetKnowledgeBaseDescription

    testGetKnowledgeBaseDescription()

## testGetKnowledgeBaseLanguages

    testGetKnowledgeBaseLanguages()

## testGetKnowledgeBaseName

    testGetKnowledgeBaseName()

## testGetLanguage

    testGetLanguage()

depends | testStartConsultation

## testGetQuestion

    testGetQuestion()

depends | testStartConsultation

## testGetSetDefaultLanguage

    testGetSetDefaultLanguage()

## testGetSupportedLanguages

    testGetSupportedLanguages()

depends | testStartConsultation

## testLoadConsultationState

    testLoadConsultationState()

## testSaveConsultationState

    testSaveConsultationState()

## testSetAnswer

    testSetAnswer()

depends | testGetQuestion

## testSetLanguage

    testSetLanguage()

depends | testStartConsultation

## testStartConsultation

    testStartConsultation()

### Constants

## BASE

    BASE

## BASE_LARGE

    BASE_LARGE

### Properties

## timestamp

    timestamp : double

inherited

var |

### Type(s)

`double`