it('with no content', () => {
        assert.throws(() => {
          tokenService.checkToken({
            endOfLife: time(),
            contents: {},