1 package unit.kernel.models.variables.pressure_provider;
3 import org.jetbrains.annotations.Contract;
4 import org.junit.Before;
7 import java.time.Duration;
9 import static org.junit.Assert.assertEquals;
15 private final Integer numberOfPoints = 10;
16 private final Duration pollingInterval = Duration.ofMillis(1000);
18 @Contract(
" -> !null")
26 public void configureProvider()
throws Exception {
32 public void getLengthOfHistory(){
34 pollingInterval.multipliedBy(numberOfPoints).toMillis(),
void setPollingInterval(Duration pollingInterval)
void setNumberOfDataPoints(Integer numberOfDataPoints)
Duration getLengthOfHistory()