Move to Different Package

master
Hammy 4 years ago
parent acf3189967
commit 58ea1efa5e

@ -1,4 +1,4 @@
package state.atm;
package state;
public class ATMMachine {

@ -1,4 +1,4 @@
package state.atm;
package state;
public interface ATMState {

@ -1,4 +1,4 @@
package state.atm;
package state;
public class HasCard implements ATMState {

@ -1,4 +1,4 @@
package state.atm;
package state;
public class HasPin implements ATMState {

@ -1,4 +1,4 @@
package state.atm;
package state;
public class Main {
public static void main(String[] args) {

@ -1,4 +1,4 @@
package state.atm;
package state;
public class NoCard implements ATMState {

@ -1,4 +1,4 @@
package state.atm;
package state;
public class NoCash implements ATMState {

@ -1,4 +1,4 @@
package state.atm.with.singleton;
package state.with.singleton;
public class ATMMachine {

@ -1,4 +1,4 @@
package state.atm.with.singleton;
package state.with.singleton;
public interface ATMState {

@ -1,4 +1,4 @@
package state.atm.with.singleton;
package state.with.singleton;
public class HasCard implements ATMState {

@ -1,4 +1,4 @@
package state.atm.with.singleton;
package state.with.singleton;
public class HasPin implements ATMState {

@ -1,4 +1,4 @@
package state.atm.with.singleton;
package state.with.singleton;
public class Main {
public static void main(String[] args) {

@ -1,4 +1,4 @@
package state.atm.with.singleton;
package state.with.singleton;
public class NoCard implements ATMState {

@ -1,4 +1,4 @@
package state.atm.with.singleton;
package state.with.singleton;
public class NoCash implements ATMState {

@ -1,8 +1,8 @@
package state.atm.with.singleton.tests;
package state.with.singleton.tests;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import state.atm.with.singleton.*;
import state.with.singleton.*;
import static org.junit.jupiter.api.Assertions.assertAll;
import static org.junit.jupiter.api.Assertions.assertSame;
Loading…
Cancel
Save