public function testStrategyConstructionSettings() {
$strategy = new MockStrategy();
$items = array('default' => array(
'strategies' => array(
'lithium\tests\mocks\storage\cache\strategy\MockConfigurizer' => array(
'key1' => 'value1', 'key2' => 'value2'
)
),
'filters' => array(),
'adapter' => null
));
$strategy::config($items);
$result = $strategy::config();
$expected = $items;
$this->assertEqual($expected, $result);
$result = $strategy::strategies('default');
$this->assertTrue($result instanceof SplDoublyLinkedList);
$this->assertEqual(count($result), 1);
$this->assertTrue($result->top() instanceof MockConfigurizer);
}