Class PostgresDockerRule
- java.lang.Object
-
- uk.gov.service.payments.commons.testing.db.PostgresDockerRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class PostgresDockerRule extends Object implements org.junit.rules.TestRule
-
-
Constructor Summary
Constructors Constructor Description PostgresDockerRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)StringgetConnectionUrl()StringgetDriverClass()StringgetPassword()StringgetUsername()voidstop()
-
-
-
Method Detail
-
getConnectionUrl
public String getConnectionUrl()
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)- Specified by:
applyin interfaceorg.junit.rules.TestRule
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
stop
public void stop()
-
getDriverClass
public String getDriverClass()
-
-