@Test
public void testPrepareStatement() throws SecurityException, IllegalArgumentException,  NoSuchFieldException, IllegalAccessException, NoSuchMethodException, InvocationTargetException{

	expect(this.mockPool.captureStackTrace((String)anyObject())).andReturn("").anyTimes();
	expect(this.mockPool.getConfig()).andReturn(this.config).anyTimes();
	replay(this.mockPool);
	this.config.setStatementsCacheSize(1);
	prepareStatementTest(String.class);
	prepareStatementTest(String.class, int.class);
	prepareStatementTest(String.class, int[].class);
	prepareStatementTest(String.class, String[].class);
	prepareStatementTest(String.class, int.class, int.class);
	prepareStatementTest(String.class, int.class, int.class, int.class);
}