Sorry, last review comment, I promise! This is more terse and clear than the try/catch:

```erlang
?assertError(function_clause, riakc_obj:new("bucket", "key"))
```