public void testUpdateStringStringString() throws Exception {
  writableTarget.next();
  writableTarget.updateString("family","bird");
  try {
    target.next();
    target.updateString("family","bird");
    fail("SQLException was not thrown");
  }
 catch (  SQLException e) {
  }
  target.updateString(1,"test");
  target.close();
  try {
    target.updateString("family","test");
    fail("Exception expected");
  }
 catch (  SQLException e) {
  }
}

public void testUpdateStringStringString ( ) throws Exception { writableTarget . next ( ) ; writableTarget . updateString ( "family" , "bird" ) ; try { target . next ( ) ; target . updateString ( "family" , "bird" ) ; fail ( "SQLException was not thrown" ) ; } catch ( SQLException e ) { } target . updateString ( 1 , "test" ) ; target . close ( ) ; try { target . updateString ( "family" , "test" ) ; fail ( "Exception expected" ) ; } catch ( SQLException e ) { } }
only exception testing . missing testing for wrong type
