def METHOD_NAME(self):
    with pytest.raises(TaskOptionsError):
        create_task(CheckSObjectOWDs, {})
    with pytest.raises(TaskOptionsError):
        create_task(
            CheckSObjectOWDs,
            {"org_wide_defaults": [{"internal_sharing_model": "Private"}]},
        )
    with pytest.raises(TaskOptionsError):
        create_task(
            CheckSObjectOWDs, {"org_wide_defaults": [{"api_name": "Account"}]}
        )