Nitpick: Return null instead? I know this doesn't really matter since you've got an assert.