issues with writing test case in java
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4744146/how-to-write-test-case-in-java">how to write test case in java</a>  </p>
</blockquote>



<p>hi
    I created one class in which I have one constructor as follows:</p>

<pre><code>public class ABC {

            private static String host;
            private static String port;
            private static String browser;
            private static String url;
            private static String fullurl;

           public ABC(){
                try { 
                   File file = new File("Element.xml");
                      DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                      DocumentBuilder db = dbf.newDocumentBuilder();
                      Document doc = db.parse(file);
</code></pre>

<h2>                          doc.getDocumentElement().normalize();</h2>

<p>please tell me test case for constructor:</p>
