Lazer\Classes\Helpers\FileTest::testRemove PHP Method

testRemove() public method

public testRemove ( )
    public function testRemove()
    {
        $object = $this->object->table('users');
        $object->setType('data');
        $this->assertTrue($this->root->hasChild('users.data.json'));
        $this->assertTrue($object->remove());
        $this->assertFalse($this->root->hasChild('users.data.json'));
    }