

      test('styled when the input is set initially to an invalid value with auto-validate, with validator', function() {
        var container = fixture('auto-validate-validator-has-invalid-value');
        assert.isTrue(container.invalid, 'invalid is true');
        assert.isTrue(Polymer.dom(container.root).querySelector('.underline').classList.contains('is-invalid'), 'underline has is-invalid class');
      });

      test('styled when the input is set to an invalid value with manual validation', functi