public function supports($request)
{
return $request instanceof Sync && $request->getModel() instanceof \ArrayAccess;
}
/** * @test */ public function shouldNotSupportAnythingNotSync() { $action = new SyncAction(); $this->assertFalse($action->supports(new \stdClass())); }