test: NbpService#getFetchDate tests
This commit is contained in:
parent
2e4ca845f8
commit
310a4c4087
4 changed files with 92 additions and 6 deletions
src/main/java/eu/ztsh/wymiana/service
|
@ -1,17 +1,22 @@
|
|||
package eu.ztsh.wymiana.service;
|
||||
|
||||
import eu.ztsh.wymiana.model.Rates;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.assertj.core.util.VisibleForTesting;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.time.Clock;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* NBP exchange rates service
|
||||
*/
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
public class NbpService {
|
||||
|
||||
private final Clock clock;
|
||||
|
||||
public double getSellRate(String currency) {
|
||||
throw new UnsupportedOperationException("Not implemented yet");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue