ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Monolog\Handler\SlackbotHandlerTest Class Reference
+ Inheritance diagram for Monolog\Handler\SlackbotHandlerTest:
+ Collaboration diagram for Monolog\Handler\SlackbotHandlerTest:

Public Member Functions

 testConstructorMinimal ()
 @covers ::__construct More...
 
 testConstructorFull ()
 @covers ::__construct More...
 

Additional Inherited Members

- Protected Member Functions inherited from Monolog\TestCase
 getRecord ($level=Logger::WARNING, $message='test', $context=array())
 
 getMultipleRecords ()
 
 getIdentityFormatter ()
 

Detailed Description

Author
Haralan Dobrev hkdob.nosp@m.rev@.nosp@m.gmail.nosp@m..com
See also
https://slack.com/apps/A0F81R8ET-slackbot @coversDefaultClass Monolog\Handler\SlackbotHandler

Definition at line 22 of file SlackbotHandlerTest.php.

Member Function Documentation

◆ testConstructorFull()

Monolog\Handler\SlackbotHandlerTest::testConstructorFull ( )

@covers ::__construct

Definition at line 36 of file SlackbotHandlerTest.php.

37 {
38 $handler = new SlackbotHandler(
39 'test-team',
40 'test-token',
41 'test-channel',
43 false
44 );
45 $this->assertInstanceOf('Monolog\Handler\AbstractProcessingHandler', $handler);
46 }
const DEBUG
Detailed debug information.
Definition: Logger.php:33
$handler

References $handler, and Monolog\Logger\DEBUG.

◆ testConstructorMinimal()

Monolog\Handler\SlackbotHandlerTest::testConstructorMinimal ( )

@covers ::__construct

Definition at line 27 of file SlackbotHandlerTest.php.

28 {
29 $handler = new SlackbotHandler('test-team', 'test-token', 'test-channel');
30 $this->assertInstanceOf('Monolog\Handler\AbstractProcessingHandler', $handler);
31 }

References $handler.


The documentation for this class was generated from the following file: