Browse Source

add basic storage class and interface

feature-add-storage-class
binsky 3 years ago
parent
commit
4ab40a8edb
  1. 11
      src/main/java/Storage.java
  2. 4
      src/main/java/StorageInterface.java
  3. 19
      src/test/java/StorageTest.java

11
src/main/java/Storage.java

@ -0,0 +1,11 @@
public class Storage implements StorageInterface{
@Override
public void export() {
}
@Override
public void load() {
}
}

4
src/main/java/StorageInterface.java

@ -0,0 +1,4 @@
public interface StorageInterface {
public void export();
public void load();
}

19
src/test/java/StorageTest.java

@ -0,0 +1,19 @@
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class StorageTest {
@Test
void constructor() {
assertInstanceOf(Storage.class, new Storage());
}
@Test
void export() {
}
@Test
void load() {
}
}
Loading…
Cancel
Save