public function testCreateFromLoaderDifferentValueClosure()
 {
     $loader = $this->getMock('Symfony\\Component\\Form\\ChoiceList\\Loader\\ChoiceLoaderInterface');
     $list1 = new \stdClass();
     $list2 = new \stdClass();
     $closure1 = function () {
     };
     $closure2 = function () {
     };
     $this->decoratedFactory->expects($this->at(0))->method('createListFromLoader')->with($loader, $closure1)->will($this->returnValue($list1));
     $this->decoratedFactory->expects($this->at(1))->method('createListFromLoader')->with($loader, $closure2)->will($this->returnValue($list2));
     $this->assertSame($list1, $this->factory->createListFromLoader($loader, $closure1));
     $this->assertSame($list2, $this->factory->createListFromLoader($loader, $closure2));
 }