describe('when attributes are passed in an order different from the returned by validate', () => {
          it('succeeds', () => {
            const user = new User({ name: '$', age: -42 });

            expect(user).toHaveInvalidAttributes([{ path: ['age'] }, { path: ['name'] }]);