First runnable tests for Database / Commented out Good/BadCasesTests (not relevant to this branch)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package hhn.temp.project.provider;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
public class SimpleDatabaseManager<E> implements DatabaseManager<E> {
|
||||
@Override
|
||||
public void saveObjects(Collection<E> objects) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<E> getObjects() {
|
||||
return List.of();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void saveObject(E object) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public E getObject(int id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void connect() {
|
||||
//...
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user