Package de.hybris.platform.jdbcwrapper
Class ConnectionImplTest
- java.lang.Object
-
- de.hybris.platform.jdbcwrapper.ConnectionImplTest
-
@UnitTest public class ConnectionImplTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldCallWrappedConnectionWhenCheckingIfClosedWithoutClosingBefore()voidshouldMarkConnectionAsFailedWhenExceptionThrownOnSettingAutoCommit()voidshouldNotCallWrappedConnectionWhenCheckingIfClosedAfterClosing()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldMarkConnectionAsFailedWhenExceptionThrownOnSettingAutoCommit
public void shouldMarkConnectionAsFailedWhenExceptionThrownOnSettingAutoCommit() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
shouldCallWrappedConnectionWhenCheckingIfClosedWithoutClosingBefore
public void shouldCallWrappedConnectionWhenCheckingIfClosedWithoutClosingBefore() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
shouldNotCallWrappedConnectionWhenCheckingIfClosedAfterClosing
public void shouldNotCallWrappedConnectionWhenCheckingIfClosedAfterClosing() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-