diff --git a/src/main/java/pl/lottery/infrastructure/winningnumberservice/WinningNumbersGeneratorPortHttpService.java b/src/main/java/pl/lottery/infrastructure/winningnumberservice/WinningNumbersGeneratorPortHttpService.java index 372e48b..d31e22e 100644 --- a/src/main/java/pl/lottery/infrastructure/winningnumberservice/WinningNumbersGeneratorPortHttpService.java +++ b/src/main/java/pl/lottery/infrastructure/winningnumberservice/WinningNumbersGeneratorPortHttpService.java @@ -7,7 +7,6 @@ import pl.lottery.resultschecker.WinningNumberGeneratorPort; import java.time.LocalDateTime; -import java.util.List; public class WinningNumbersGeneratorPortHttpService implements WinningNumberGeneratorPort { @@ -37,14 +36,4 @@ public WinningNumbersResponseDto retrieveWinningNumbers(LocalDateTime drawDate) return responseEntity.getBody(); } - @Override - public WinningNumbersResponseDto deleteWinningNumbers(LocalDateTime drawDate) { - return null; - } - - @Override - public List getAllWinningNumbers() { - return null; - } - } diff --git a/src/main/java/pl/lottery/resultschecker/WinningNumberGeneratorPort.java b/src/main/java/pl/lottery/resultschecker/WinningNumberGeneratorPort.java index 1a010a6..e429094 100644 --- a/src/main/java/pl/lottery/resultschecker/WinningNumberGeneratorPort.java +++ b/src/main/java/pl/lottery/resultschecker/WinningNumberGeneratorPort.java @@ -10,7 +10,4 @@ public interface WinningNumberGeneratorPort { WinningNumbersResponseDto retrieveWinningNumbers(LocalDateTime drawDate); - WinningNumbersResponseDto deleteWinningNumbers(LocalDateTime drawDate); - - List getAllWinningNumbers(); } diff --git a/src/test/java/pl/lottery/resultschecker/WinningNumbersServiceStub.java b/src/test/java/pl/lottery/resultschecker/WinningNumbersServiceStub.java index 2c0e49b..1180a5d 100644 --- a/src/test/java/pl/lottery/resultschecker/WinningNumbersServiceStub.java +++ b/src/test/java/pl/lottery/resultschecker/WinningNumbersServiceStub.java @@ -24,13 +24,4 @@ public WinningNumbersResponseDto retrieveWinningNumbers(LocalDateTime drawDate) return new WinningNumbersResponseDto(drawDate, winningNumbers, WinningNumberStatus.LOADED_FROM_DB); } - @Override - public WinningNumbersResponseDto deleteWinningNumbers(LocalDateTime drawDate) { - return new WinningNumbersResponseDto(drawDate, null, WinningNumberStatus.DELETED); - } - - @Override - public List getAllWinningNumbers() { - return null; - } }