title: Angular: How to Unit Test Public Members which are Only used as Input in HTML
body: <p>Angular <code>ng test --code-coverage</code> is asking me to Unit Test Public variables. The variables are strictly used as Direct Input in html. How can this be unit tested?</p>
  <p><a href="https://i.stack.imgur.com/z6j1O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z6j1O.png" alt="enter image description here" /></a></p>
  <p>Variables get placed into other Input area components:</p>
  <pre><code>&lt;ctrl-grid 
    [gridData]=&quot;agencyAssociatedList&quot; 
    [pageSizes]=&quot;pageSizes&quot; 
    [gridOptions]=&quot;gridOptions&quot;
    [(state)]=&quot;gridState&quot;
    [buttonCount]=&quot;buttonCount&quot;
    [previousNext]=&quot;previousNext&quot;
    [loadDataWithState]=&quot;exportData&quot;
    &gt;
  </code></pre>