public function testStateBasedInstantiation()
{
$result = MockObjectConfiguration::__set_state(array('key' => 'value', '_protected' => 'test'));
$expected = 'lithium\\tests\\mocks\\core\\MockObjectConfiguration';
$this->assertEqual($expected, get_class($result));
$this->assertEqual('test', $result->getProtected());
}