Double-свойства#
package org.my.pack;
import ru.tinkoff.qa.neptune.core.api.properties.PropertyName;
import ru.tinkoff.qa.neptune.core.api.properties.doubles.DoubleValuePropertySupplier;
@PropertyName("MY_PROPERTY")
public class MyDoubleProperty implements DoubleValuePropertySupplier {
public static final MyDoubleProperty PROPERTY = new MyDoubleProperty();
}
MY_PROPERTY=2.5
package org.my.pack;
import static org.my.pack.MyDoubleProperty.PROPERTY;
public class MyUseCase {
public void useCase() {
//чтение
Double value = PROPERTY.get();
}
}