test case issue
<p>hi
  I have one class,and in that class I have one method as follows:
  I am using java.</p>

<pre><code>public class ABC{
    some code here...
     ..................
     PreparedStatement pre;
      public void insertUser(String firstName,String lastName){
          pre.setString(1,firstName);
          pre.setString(2,lastName);
          pre.execute();
      }
}
</code></pre>

<p>for above method I want to write the test case,I have created the test class as follows:</p>

<pre><code>public class ABCTest{
    ABC abc=new ABC();
   public void testInsertUser(){
</code></pre>

<p>now here I want to write the assert statement,I want test whether insert is successful,
  I want to test the method variable using <code>assert()</code>. Please tell me how to write test case for this in java.</p>
