Package es.bsc.dataclay.logic.accountmgr
Class AccountManagerDBTest
- java.lang.Object
-
- es.bsc.dataclay.logic.accountmgr.AccountManagerDBTest
-
public class AccountManagerDBTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description org.mockito.junit.MockitoRulemockitoRule
-
Constructor Summary
Constructors Constructor Description AccountManagerDBTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidcreateTables()voiddropTables()voidexistsAccountByID()voidexistsAccountByName()voidgetAllNormalAccounts()voidgetByID()voidgetByName()voidsetUp()voidstore()voidtearDown()voidtestStore()
-
-
-
Method Detail
-
createTables
public void createTables() throws SQLException- Throws:
SQLException
-
dropTables
public void dropTables()
-
store
public void store()
-
testStore
public void testStore()
-
getByID
public void getByID()
-
getByName
public void getByName()
-
existsAccountByName
public void existsAccountByName()
-
existsAccountByID
public void existsAccountByID()
-
getAllNormalAccounts
public void getAllNormalAccounts()
-
close
public void close()
-
-