PHP Class Bitrix24\ChatTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: mesilov/bitrix24-php-sdk

Protected Properties

Property Type Description
$bitrix24App Bitrix24\Contracts\iBitrix24
$defaultChatId integer

Public Methods

Method Description
testAddChatWithTitleAndDescription ( )
testDeleteWithNullArgument ( )
testDeleteWithNumericArgument ( )
testSendTypingWithNullChatId ( )
testSendTypingWithValidArguments ( )
testSetOwnerWithNullChatId ( )
testSetOwnerWithNullUserId ( )
testSetOwnerWithValidArguments ( )
testUpdateAvatarWithNullAvatar ( )
testUpdateAvatarWithNullChatId ( )
testUpdateAvatarWithValidArguments ( )
testUpdateColorWithNullChatId ( )
testUpdateColorWithNullColor ( )
testUpdateColorWithValidArguments ( )
testUpdateTitleWithNullChatId ( )
testUpdateTitleWithNullTitle ( )
testUpdateTitleWithValidArguments ( )
testUserAddWithEmptyArray ( )
testUserAddWithNullChatId ( )
testUserAddWithValidArguments ( )
testUserDeleteWithNullChatId ( )
testUserDeleteWithNullUserId ( )
testUserDeleteWithValidArguments ( )
testUserListWithNullArgument ( )
testUserListWithNumericArgument ( )

Protected Methods

Method Description
setUp ( ) : void

Method Details

setUp() protected method

protected setUp ( ) : void
return void

testAddChatWithTitleAndDescription() public method

testDeleteWithNullArgument() public method

testDeleteWithNumericArgument() public method

testSendTypingWithNullChatId() public method

testSendTypingWithValidArguments() public method

testSetOwnerWithNullChatId() public method

testSetOwnerWithNullUserId() public method

testSetOwnerWithValidArguments() public method

testUpdateAvatarWithNullAvatar() public method

testUpdateAvatarWithNullChatId() public method

testUpdateAvatarWithValidArguments() public method

testUpdateColorWithNullChatId() public method

testUpdateColorWithNullColor() public method

testUpdateColorWithValidArguments() public method

testUpdateTitleWithNullChatId() public method

testUpdateTitleWithNullTitle() public method

testUpdateTitleWithValidArguments() public method

testUserAddWithEmptyArray() public method

testUserAddWithNullChatId() public method

testUserAddWithValidArguments() public method

testUserDeleteWithNullChatId() public method

testUserDeleteWithNullUserId() public method

testUserDeleteWithValidArguments() public method

testUserListWithNullArgument() public method

testUserListWithNumericArgument() public method

Property Details

$bitrix24App protected property

protected iBitrix24,Bitrix24\Contracts $bitrix24App
return Bitrix24\Contracts\iBitrix24

$defaultChatId protected property

protected int $defaultChatId
return integer