Framework
This commit is contained in:
@@ -11,11 +11,16 @@ require '../src/entryPoint.php';
|
||||
|
||||
class Test extends TestCase
|
||||
{
|
||||
public function testShouldReturnMessageID(): void
|
||||
public function testShouldNotNULLMessageID0(): void
|
||||
{
|
||||
$this->assertEquals(
|
||||
'0',
|
||||
$this->assertNotNull(
|
||||
reply_user('whatever', 0, 'whatever')
|
||||
);
|
||||
}
|
||||
public function testShouldNULLMessageID1(): void
|
||||
{
|
||||
$this->assertNull(
|
||||
reply_user('whatever', 1, 'whatever')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user