Elgg\EntityPreloaderTest::testQuietlyIgnoresMissingProperty PHP Method

testQuietlyIgnoresMissingProperty() public method

    public function testQuietlyIgnoresMissingProperty()
    {
        $this->obj->_callable_entity_loader = array($this->mock, 'load');
        $this->mock->expects($this->once())->method('load')->with(array('guids' => array(234, 345)));
        $this->obj->preload(array((object) array('foo' => 234), (object) array(), (object) array('bar' => 345)), array('foo', 'bar'));
    }