hmci/src/test/groovy/biz/nellemann/hmci/ConfigurationTest.groovy

34 lines
577 B
Groovy
Raw Normal View History

package biz.nellemann.hmci
import spock.lang.Specification
2021-03-24 12:25:34 +00:00
import java.nio.file.Path
import java.nio.file.Paths
class ConfigurationTest extends Specification {
2021-03-24 12:25:34 +00:00
Path testConfigurationFile = Paths.get(getClass().getResource('/hmci.toml').toURI())
void "test parsing"() {
when:
Configuration conf = new Configuration(testConfigurationFile)
then:
conf != null
}
void "test lookup influx"() {
when:
Configuration conf = new Configuration(testConfigurationFile)
then:
conf != null
}
}