Borrowed the 'throws' assertion from FUnit