@Test
public void testGetTotalCreatedConnections() {

	expect(mockPartition.getCreatedConnections()).andReturn(5).anyTimes();
	replay(mockPartition);
	assertEquals(10, testClass.getTotalCreatedConnections());
	testClass.partitions[1] = null; // test safety
	assertEquals(5, testClass.getTotalCreatedConnections());
	
	verify(mockPartition);
}