PopTest\Data\DataTest::testParseDataException PHP Method

testParseDataException() public method

    public function testParseDataException()
    {
        $ary = array(array('name' => 'Test1', 'email' => '[email protected]'), array('name' => 'Test2', 'email' => '[email protected]'));
        $d = new Data($ary);
        $this->setExpectedException('Pop\\Data\\Exception');
        $d->parseData('txt');
    }