@Test(expected = IllegalStateException.class)
public void testDeleteTestCaseClosedConnection()
{
System.out.println("delete - Closed Connection");
TestCase testCase = createSampleTestCase1();
Long id = testCase.getId();
TestCase result = instance.find(id);
assertNotNull(result);
assertTrue(instance.isOpen());
instance.closeConnection();
assertFalse(instance.isOpen());