Blog\Model\CommentTest::testAdd PHP Method

testAdd() public method

Test
public testAdd ( ) : void
return void
    public function testAdd()
    {
        $data = array('message' => 'test', 'username' => 'test', 'email' => '[email protected]');
        $this->assertTrue($this->object->add($data, $this->document->getId()));
    }