Tests block sorting within regions.
public function testBlockSorting() {
$expected = array(
'left' => array(
'block.test_block_3',
'block.test_block_1',
),
'right' => array(
'block.test_block_2',
),
);
$this
->assertIdentical($this->twocol
->getSortedBlocksByRegion('left'), $expected['left']);
$this
->assertIdentical($this->twocol
->getSortedBlocksByRegion('right'), $expected['right']);
$this
->assertIdentical($this->twocol
->getAllSortedBlocks(), $expected);
}