@@ -27,7 +27,7 @@ import tech.units.indriya.quantity.Quantities
2727import javax.measure.quantity.Temperature
2828import javax.measure.quantity.Volume
2929
30- class ThermalUnitValidationUtilsTest extends Specification {
30+ class ThermalValidationUtilsTest extends Specification {
3131
3232 // General data
3333 private static final UUID thermalUnitUuid = UUID . fromString(" 717af017-cc69-406f-b452-e022d7fb516a" )
@@ -66,7 +66,7 @@ class ThermalUnitValidationUtilsTest extends Specification {
6666
6767 def " ThermalUnitValidationUtils.checkThermalHouse() recognizes all potential errors for a thermal house" () {
6868 when :
69- List<Try<Void , ? extends ValidationException > > exceptions = ThermalUnitValidationUtils . check(invalidThermalHouse). stream(). filter { it -> it. failure }. toList()
69+ List<Try<Void , ? extends ValidationException > > exceptions = ThermalValidationUtils . check(invalidThermalHouse). stream(). filter { it -> it. failure }. toList()
7070
7171 then :
7272 exceptions. size() == expectedSize
@@ -99,7 +99,7 @@ class ThermalUnitValidationUtilsTest extends Specification {
9999
100100 def " ThermalUnitValidationUtils.checkCylindricalStorage() recognizes all potential errors for a thermal cylindrical storage" () {
101101 when :
102- List<Try<Void , ? extends ValidationException > > exceptions = ThermalUnitValidationUtils . check(invalidCylindricalStorage). stream(). filter { it -> it. failure }. toList()
102+ List<Try<Void , ? extends ValidationException > > exceptions = ThermalValidationUtils . check(invalidCylindricalStorage). stream(). filter { it -> it. failure }. toList()
103103
104104 then :
105105 exceptions. size() == expectedSize
@@ -127,7 +127,7 @@ class ThermalUnitValidationUtilsTest extends Specification {
127127 ThermalGrid thermalGrid = new ThermalGrid (thermalBus, [thermalHouse], cylindricalStorageInput, domesticHotWaterStorageInput)
128128
129129
130- List<Try<Void , ? extends ValidationException > > exceptions = ThermalUnitValidationUtils . check(thermalGrid). stream(). filter { it -> it. failure }. toList()
130+ List<Try<Void , ? extends ValidationException > > exceptions = ThermalValidationUtils . check(thermalGrid). stream(). filter { it -> it. failure }. toList()
131131
132132 then :
133133 exceptions. size() == expectedSize
0 commit comments