it('can not be called with empty array of expected errors', () => {
      const user = new User();

      expect(() => {
        expect(user).toHaveInvalidAttributes([]);