Phactory\Sql\RowTest::testFill PHP Метод

testFill() публичный Метод

public testFill ( )
    public function testFill()
    {
        $data = array('id' => 1);
        $row = new Row('user', $data, $this->phactory);
        $arr = $row->toArray();
        $this->assertEquals($data, $arr);
        $data['name'] = null;
        $arr = $row->fill()->toArray();
        $this->assertEquals($data, $arr);
    }