I'm pretty sure we don't need to write tests for this because I think every bit of code assumes connections will always come from a pool. So, we never have the concept of "this connection is always mine, no one used it before me, and no one else will use it after me".
So, we should be good here. But, just in case...
I mean, we have an IPool and Connection interface. And connections only ever come from an IPool. So... We should be good..... Right?
https://aws.amazon.com/rds/proxy/
I'm pretty sure we don't need to write tests for this because I think every bit of code assumes connections will always come from a pool. So, we never have the concept of "this connection is always mine, no one used it before me, and no one else will use it after me".
So, we should be good here. But, just in case...
I mean, we have an
IPool
andConnection
interface. And connections only ever come from anIPool
. So... We should be good..... Right?