* Test for the class javax.naming.ldap.StartTlsResponse
*
*/
public void testStartTlsResponse(){
MockStartTlsResponse str=new MockStartTlsResponse();
MockStartTlsResponse str2=null;
try{
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
ObjectOutput out = new ObjectOutputStream(buffer);
out.writeObject(str);
out.close();
ObjectInput in = new ObjectInputStream(new ByteArrayInputStream(buffer.toByteArray()));
str2 = (MockStartTlsResponse) in.readObject();
in.close();
assertEquals(str.getID(),str2.getID());
}catch (Exception e) {
fail("Failed with:"+e);
}
}