public void testSelfEquality() {
assertEquality(managedConnection, managedConnection);
}
public void testSamePropertiesButNotEqual() throws Exception {
ManagedConnectionProxy newConnection = (ManagedConnectionProxy) connectionFactory.createConnection();
assertNonEquality(managedConnection, newConnection.getManagedConnection());
}