protected function _createBindingsWithModels()
{
$bindings = $this->_createBindings();
$this->request->expects($this->once())->method('request')->with('sites/abc/bindings', ['options' => ['method' => 'get']])->willReturn(['data' => $this->bindings_data]);
$i = 0;
foreach ($this->bindings_data as $id => $data) {
$this->container->expects($this->at($i++))->method('get')->with(Binding::class, [$data, ['id' => $id, 'collection' => $bindings]])->willReturn(new Binding($data, ['collection' => $bindings]));
}
return $bindings;
}