Framework

This commit is contained in:
2018-12-19 21:29:53 +00:00
parent 0976e17030
commit 27944ac132
5 changed files with 54 additions and 6 deletions

View File

@@ -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')
);
}
}