diff --git a/mdx-gateway-generator/gradle.lockfile b/mdx-gateway-generator/gradle.lockfile index ae0b67c3..847f525c 100644 --- a/mdx-gateway-generator/gradle.lockfile +++ b/mdx-gateway-generator/gradle.lockfile @@ -16,14 +16,13 @@ com.fasterxml.jackson:jackson-bom:2.21.2=compileClasspath,testCompileClasspath com.fasterxml.jackson:jackson-bom:2.21.3=runtimeClasspath,testRuntimeClasspath com.fasterxml.woodstox:woodstox-core:7.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,compileClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath -com.github.spotbugs:spotbugs:4.9.8=spotbugs +com.github.spotbugs:spotbugs-annotations:4.10.2=compileClasspath,spotbugs,testCompileClasspath +com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,testAnnotationProcessor +com.github.spotbugs:spotbugs:4.10.2=spotbugs com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,compileClasspath,runtimeClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath -com.google.code.gson:gson:2.13.2=spotbugs -com.google.code.gson:gson:2.14.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.google.errorprone:error_prone_annotations:2.41.0=spotbugs -com.google.errorprone:error_prone_annotations:2.48.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.14.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.48.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:guava:32.1.3-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath @@ -43,7 +42,7 @@ com.sun.xml.bind:jaxb-impl:4.0.6=compileClasspath,runtimeClasspath,testCompileCl commons-beanutils:commons-beanutils:1.11.0=runtimeClasspath,testRuntimeClasspath commons-codec:commons-codec:1.14=runtimeClasspath,testRuntimeClasspath commons-collections:commons-collections:3.2.2=runtimeClasspath,testRuntimeClasspath -commons-io:commons-io:2.20.0=spotbugs +commons-io:commons-io:2.21.0=spotbugs commons-logging:commons-logging:1.3.5=runtimeClasspath,testRuntimeClasspath io.github.cdimascio:dotenv-java:2.3.2=runtimeClasspath,testRuntimeClasspath io.leangen.geantyref:geantyref:1.3.16=testRuntimeClasspath @@ -53,20 +52,18 @@ io.opentracing:opentracing-util:0.33.0=compileClasspath,runtimeClasspath,testCom jakarta.activation:jakarta.activation-api:2.1.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.bind:jakarta.xml.bind-api:4.0.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.soap:jakarta.xml.soap-api:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -jaxen:jaxen:2.0.0=spotbugs +jaxen:jaxen:2.0.6=spotbugs net.bytebuddy:byte-buddy-agent:1.17.7=testCompileClasspath,testRuntimeClasspath net.bytebuddy:byte-buddy:1.17.7=testCompileClasspath net.bytebuddy:byte-buddy:1.18.3=testRuntimeClasspath net.sf.saxon:Saxon-HE:12.9=spotbugs -org.apache.bcel:bcel:6.11.0=spotbugs -org.apache.commons:commons-lang3:3.19.0=spotbugs -org.apache.commons:commons-lang3:3.20.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.apache.commons:commons-text:1.14.0=spotbugs -org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.bcel:bcel:6.12.0=spotbugs +org.apache.commons:commons-lang3:3.20.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath org.apache.httpcomponents:httpclient:4.5.14=runtimeClasspath,testRuntimeClasspath org.apache.httpcomponents:httpcore:4.4.16=runtimeClasspath,testRuntimeClasspath -org.apache.logging.log4j:log4j-api:2.25.3=spotbugs -org.apache.logging.log4j:log4j-core:2.25.3=spotbugs +org.apache.logging.log4j:log4j-api:2.26.0=spotbugs +org.apache.logging.log4j:log4j-core:2.26.0=spotbugs org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath org.assertj:assertj-core:3.27.7=testRuntimeClasspath org.checkerframework:checker-qual:3.37.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath @@ -86,22 +83,24 @@ org.javassist:javassist:3.28.0-GA=runtimeClasspath,testRuntimeClasspath org.junit.jupiter:junit-jupiter-api:5.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-commons:1.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-engine:1.14.0=testCompileClasspath,testRuntimeClasspath -org.junit:junit-bom:5.14.0=annotationProcessor,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:5.14.0=annotationProcessor,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:6.1.0=spotbugs org.mockito:mockito-core:5.23.0=testCompileClasspath,testRuntimeClasspath org.objenesis:objenesis:3.3=runtimeClasspath,testRuntimeClasspath org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath -org.ow2.asm:asm-analysis:9.9=spotbugs +org.ow2.asm:asm-analysis:9.10.1=spotbugs +org.ow2.asm:asm-commons:9.10.1=spotbugs org.ow2.asm:asm-commons:9.8=jacocoAnt -org.ow2.asm:asm-commons:9.9=spotbugs +org.ow2.asm:asm-tree:9.10.1=spotbugs org.ow2.asm:asm-tree:9.8=jacocoAnt -org.ow2.asm:asm-tree:9.9=spotbugs -org.ow2.asm:asm-util:9.9=spotbugs +org.ow2.asm:asm-util:9.10.1=spotbugs +org.ow2.asm:asm:9.10.1=spotbugs org.ow2.asm:asm:9.8=jacocoAnt -org.ow2.asm:asm:9.9=spotbugs org.projectlombok:lombok:1.18.42=annotationProcessor,compileClasspath,lombok,testAnnotationProcessor,testCompileClasspath org.reflections:reflections:0.10.2=runtimeClasspath,testRuntimeClasspath org.slf4j:slf4j-api:1.7.32=runtimeClasspath,testRuntimeClasspath -org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j +org.slf4j:slf4j-api:2.0.17=spotbugsSlf4j +org.slf4j:slf4j-api:2.0.18=spotbugs org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j org.spockframework:spock-bom:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath org.spockframework:spock-core:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath diff --git a/mdx-gateways/gradle.lockfile b/mdx-gateways/gradle.lockfile index 18bcc2b6..4609254a 100644 --- a/mdx-gateways/gradle.lockfile +++ b/mdx-gateways/gradle.lockfile @@ -17,15 +17,16 @@ com.fasterxml.jackson:jackson-bom:2.21.3=annotationProcessor,runtimeClasspath,te com.fasterxml.woodstox:woodstox-core:7.1.1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd com.github.rholder:guava-retrying:2.0.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,compileClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath -com.github.spotbugs:spotbugs:4.9.8=spotbugs +com.github.spotbugs:spotbugs-annotations:4.10.2=compileClasspath,spotbugs,testCompileClasspath +com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,testAnnotationProcessor +com.github.spotbugs:spotbugs:4.10.2=spotbugs com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath -com.google.code.gson:gson:2.13.2=pmd,spotbugs -com.google.code.gson:gson:2.14.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.13.2=pmd +com.google.code.gson:gson:2.14.0=annotationProcessor,compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath com.google.errorprone:error_prone_annotations:2.36.0=checkstyle -com.google.errorprone:error_prone_annotations:2.41.0=pmd,spotbugs -com.google.errorprone:error_prone_annotations:2.48.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.41.0=pmd +com.google.errorprone:error_prone_annotations:2.48.0=annotationProcessor,compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath com.google.guava:failureaccess:1.0.1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:failureaccess:1.0.3=checkstyle com.google.guava:guava:32.1.3-jre=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath @@ -50,7 +51,7 @@ commons-beanutils:commons-beanutils:1.11.0=annotationProcessor,checkstyle,runtim commons-codec:commons-codec:1.14=annotationProcessor,runtimeClasspath,testRuntimeClasspath commons-codec:commons-codec:1.15=checkstyle commons-collections:commons-collections:3.2.2=annotationProcessor,checkstyle,runtimeClasspath,testRuntimeClasspath -commons-io:commons-io:2.20.0=spotbugs +commons-io:commons-io:2.21.0=spotbugs commons-logging:commons-logging:1.3.5=annotationProcessor,runtimeClasspath,testRuntimeClasspath info.picocli:picocli:4.7.7=checkstyle io.github.cdimascio:dotenv-java:2.3.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath @@ -62,7 +63,7 @@ io.opentracing:opentracing-util:0.33.0=annotationProcessor,compileClasspath,runt jakarta.activation:jakarta.activation-api:2.1.4=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.bind:jakarta.xml.bind-api:4.0.4=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.soap:jakarta.xml.soap-api:3.0.2=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -jaxen:jaxen:2.0.0=spotbugs +jaxen:jaxen:2.0.6=spotbugs net.bytebuddy:byte-buddy-agent:1.17.7=testCompileClasspath,testRuntimeClasspath net.bytebuddy:byte-buddy:1.17.7=testCompileClasspath net.bytebuddy:byte-buddy:1.18.3=testRuntimeClasspath @@ -73,12 +74,10 @@ net.sourceforge.pmd:pmd-core:7.22.0=pmd net.sourceforge.pmd:pmd-java:7.22.0=pmd org.antlr:antlr4-runtime:4.13.2=checkstyle org.antlr:antlr4-runtime:4.9.3=pmd -org.apache.bcel:bcel:6.11.0=spotbugs +org.apache.bcel:bcel:6.12.0=spotbugs org.apache.commons:commons-lang3:3.18.0=checkstyle -org.apache.commons:commons-lang3:3.19.0=spotbugs -org.apache.commons:commons-lang3:3.20.0=annotationProcessor,compileClasspath,pmd,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.apache.commons:commons-text:1.14.0=spotbugs -org.apache.commons:commons-text:1.15.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-lang3:3.20.0=annotationProcessor,compileClasspath,pmd,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-text:1.15.0=annotationProcessor,compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath org.apache.commons:commons-text:1.3=checkstyle org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle @@ -87,8 +86,8 @@ org.apache.httpcomponents:httpclient:4.5.13=checkstyle org.apache.httpcomponents:httpclient:4.5.14=annotationProcessor,runtimeClasspath,testRuntimeClasspath org.apache.httpcomponents:httpcore:4.4.14=checkstyle org.apache.httpcomponents:httpcore:4.4.16=annotationProcessor,runtimeClasspath,testRuntimeClasspath -org.apache.logging.log4j:log4j-api:2.25.3=spotbugs -org.apache.logging.log4j:log4j-core:2.25.3=spotbugs +org.apache.logging.log4j:log4j-api:2.26.0=spotbugs +org.apache.logging.log4j:log4j-core:2.26.0=spotbugs org.apache.maven.doxia:doxia-core:1.12.0=checkstyle org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle org.apache.maven.doxia:doxia-module-xdoc:1.12.0=checkstyle @@ -120,18 +119,19 @@ org.jspecify:jspecify:1.0.0=checkstyle org.junit.jupiter:junit-jupiter-api:5.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-commons:1.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-engine:1.14.0=testCompileClasspath,testRuntimeClasspath -org.junit:junit-bom:5.14.0=annotationProcessor,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:5.14.0=annotationProcessor,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:6.1.0=spotbugs org.mockito:mockito-core:5.23.0=testCompileClasspath,testRuntimeClasspath org.objenesis:objenesis:3.3=annotationProcessor,runtimeClasspath,testRuntimeClasspath org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath -org.ow2.asm:asm-analysis:9.9=spotbugs +org.ow2.asm:asm-analysis:9.10.1=spotbugs +org.ow2.asm:asm-commons:9.10.1=spotbugs org.ow2.asm:asm-commons:9.8=jacocoAnt -org.ow2.asm:asm-commons:9.9=spotbugs +org.ow2.asm:asm-tree:9.10.1=spotbugs org.ow2.asm:asm-tree:9.8=jacocoAnt -org.ow2.asm:asm-tree:9.9=spotbugs -org.ow2.asm:asm-util:9.9=spotbugs +org.ow2.asm:asm-util:9.10.1=spotbugs +org.ow2.asm:asm:9.10.1=spotbugs org.ow2.asm:asm:9.8=jacocoAnt -org.ow2.asm:asm:9.9=spotbugs org.ow2.asm:asm:9.9.1=pmd org.pcollections:pcollections:4.0.2=pmd org.projectlombok:lombok:1.18.42=annotationProcessor,compileClasspath,lombok,testAnnotationProcessor,testCompileClasspath @@ -139,7 +139,8 @@ org.reflections:reflections:0.10.2=annotationProcessor,checkstyle,runtimeClasspa org.slf4j:jul-to-slf4j:1.7.36=pmd org.slf4j:slf4j-api:1.7.30=testCompileClasspath org.slf4j:slf4j-api:1.7.32=annotationProcessor,runtimeClasspath,testRuntimeClasspath -org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j +org.slf4j:slf4j-api:2.0.17=spotbugsSlf4j +org.slf4j:slf4j-api:2.0.18=spotbugs org.slf4j:slf4j-simple:1.7.30=testCompileClasspath,testRuntimeClasspath org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j org.spockframework:spock-bom:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath diff --git a/mdx-models/gradle.lockfile b/mdx-models/gradle.lockfile index 7efa359e..fdabffcf 100644 --- a/mdx-models/gradle.lockfile +++ b/mdx-models/gradle.lockfile @@ -17,15 +17,16 @@ com.fasterxml.jackson:jackson-bom:2.21.3=runtimeClasspath,testRuntimeClasspath com.fasterxml.woodstox:woodstox-core:7.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,compileClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath -com.github.spotbugs:spotbugs:4.9.8=spotbugs +com.github.spotbugs:spotbugs-annotations:4.10.2=compileClasspath,spotbugs,testCompileClasspath +com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,testAnnotationProcessor +com.github.spotbugs:spotbugs:4.10.2=spotbugs com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath -com.google.code.gson:gson:2.13.2=pmd,spotbugs -com.google.code.gson:gson:2.14.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.13.2=pmd +com.google.code.gson:gson:2.14.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath com.google.errorprone:error_prone_annotations:2.36.0=checkstyle -com.google.errorprone:error_prone_annotations:2.41.0=pmd,spotbugs -com.google.errorprone:error_prone_annotations:2.48.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.41.0=pmd +com.google.errorprone:error_prone_annotations:2.48.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:failureaccess:1.0.3=checkstyle com.google.guava:guava:32.1.3-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath @@ -48,7 +49,7 @@ commons-beanutils:commons-beanutils:1.11.0=checkstyle,compileClasspath,runtimeCl commons-codec:commons-codec:1.14=runtimeClasspath,testRuntimeClasspath commons-codec:commons-codec:1.15=checkstyle commons-collections:commons-collections:3.2.2=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -commons-io:commons-io:2.20.0=spotbugs +commons-io:commons-io:2.21.0=spotbugs commons-logging:commons-logging:1.3.5=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath info.picocli:picocli:4.7.7=checkstyle io.github.cdimascio:dotenv-java:2.3.2=runtimeClasspath,testRuntimeClasspath @@ -59,7 +60,7 @@ io.opentracing:opentracing-util:0.33.0=compileClasspath,runtimeClasspath,testCom jakarta.activation:jakarta.activation-api:2.1.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.bind:jakarta.xml.bind-api:4.0.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.soap:jakarta.xml.soap-api:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -jaxen:jaxen:2.0.0=spotbugs +jaxen:jaxen:2.0.6=spotbugs net.bytebuddy:byte-buddy-agent:1.17.7=testCompileClasspath,testRuntimeClasspath net.bytebuddy:byte-buddy:1.17.7=testCompileClasspath net.bytebuddy:byte-buddy:1.18.3=testRuntimeClasspath @@ -70,12 +71,10 @@ net.sourceforge.pmd:pmd-core:7.22.0=pmd net.sourceforge.pmd:pmd-java:7.22.0=pmd org.antlr:antlr4-runtime:4.13.2=checkstyle org.antlr:antlr4-runtime:4.9.3=pmd -org.apache.bcel:bcel:6.11.0=spotbugs +org.apache.bcel:bcel:6.12.0=spotbugs org.apache.commons:commons-lang3:3.18.0=checkstyle -org.apache.commons:commons-lang3:3.19.0=spotbugs -org.apache.commons:commons-lang3:3.20.0=compileClasspath,pmd,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.apache.commons:commons-text:1.14.0=spotbugs -org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-lang3:3.20.0=compileClasspath,pmd,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath org.apache.commons:commons-text:1.3=checkstyle org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle @@ -84,8 +83,8 @@ org.apache.httpcomponents:httpclient:4.5.13=checkstyle org.apache.httpcomponents:httpclient:4.5.14=runtimeClasspath,testRuntimeClasspath org.apache.httpcomponents:httpcore:4.4.14=checkstyle org.apache.httpcomponents:httpcore:4.4.16=runtimeClasspath,testRuntimeClasspath -org.apache.logging.log4j:log4j-api:2.25.3=spotbugs -org.apache.logging.log4j:log4j-core:2.25.3=spotbugs +org.apache.logging.log4j:log4j-api:2.26.0=spotbugs +org.apache.logging.log4j:log4j-core:2.26.0=spotbugs org.apache.maven.doxia:doxia-core:1.12.0=checkstyle org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle org.apache.maven.doxia:doxia-module-xdoc:1.12.0=checkstyle @@ -117,25 +116,27 @@ org.jspecify:jspecify:1.0.0=checkstyle org.junit.jupiter:junit-jupiter-api:5.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-commons:1.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-engine:1.14.0=testCompileClasspath,testRuntimeClasspath -org.junit:junit-bom:5.14.0=annotationProcessor,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:5.14.0=annotationProcessor,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:6.1.0=spotbugs org.mockito:mockito-core:5.23.0=testCompileClasspath,testRuntimeClasspath org.objenesis:objenesis:3.3=runtimeClasspath,testRuntimeClasspath org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath -org.ow2.asm:asm-analysis:9.9=spotbugs +org.ow2.asm:asm-analysis:9.10.1=spotbugs +org.ow2.asm:asm-commons:9.10.1=spotbugs org.ow2.asm:asm-commons:9.8=jacocoAnt -org.ow2.asm:asm-commons:9.9=spotbugs +org.ow2.asm:asm-tree:9.10.1=spotbugs org.ow2.asm:asm-tree:9.8=jacocoAnt -org.ow2.asm:asm-tree:9.9=spotbugs -org.ow2.asm:asm-util:9.9=spotbugs +org.ow2.asm:asm-util:9.10.1=spotbugs +org.ow2.asm:asm:9.10.1=spotbugs org.ow2.asm:asm:9.8=jacocoAnt -org.ow2.asm:asm:9.9=spotbugs org.ow2.asm:asm:9.9.1=pmd org.pcollections:pcollections:4.0.2=pmd org.projectlombok:lombok:1.18.42=annotationProcessor,compileClasspath,lombok,testAnnotationProcessor,testCompileClasspath org.reflections:reflections:0.10.2=checkstyle,runtimeClasspath,testRuntimeClasspath org.slf4j:jul-to-slf4j:1.7.36=pmd org.slf4j:slf4j-api:1.7.32=runtimeClasspath,testRuntimeClasspath -org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j +org.slf4j:slf4j-api:2.0.17=spotbugsSlf4j +org.slf4j:slf4j-api:2.0.18=spotbugs org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j org.spockframework:spock-bom:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath org.spockframework:spock-core:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/StatusBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/StatusBaseAccessorTest.groovy new file mode 100644 index 00000000..2b089392 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/StatusBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class StatusBaseAccessorTest extends Specification { + class TestAccessor extends StatusBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/StatusDefaultAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/StatusDefaultAccessorTest.groovy new file mode 100644 index 00000000..3d5969cb --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/StatusDefaultAccessorTest.groovy @@ -0,0 +1,16 @@ +package com.mx.path.model.mdx.accessor + +import com.mx.path.core.common.accessor.PathResponseStatus + +import spock.lang.Specification + +class StatusDefaultAccessorTest extends Specification { + def subject = new StatusDefaultAccessor() + + def "get returns NO_CONTENT"() { + when: + def response = subject.get() + then: + response.status == PathResponseStatus.NO_CONTENT + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountAddressBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountAddressBaseAccessorTest.groovy new file mode 100644 index 00000000..f1862162 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountAddressBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountAddressBaseAccessorTest extends Specification { + class TestAccessor extends AccountAddressBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create("accountId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("accountId", "addressId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("accountId", "addressId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list("accountId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("accountId", "addressId", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountAlertBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountAlertBaseAccessorTest.groovy new file mode 100644 index 00000000..64e8adcd --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountAlertBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountAlertBaseAccessorTest extends Specification { + class TestAccessor extends AccountAlertBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("accountId", "alertId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list("accountId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("accountId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "deliveryMethods throws"() { + when: subject.deliveryMethods("accountId", "alertId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "accounts throws"() { + when: subject.accounts() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountBaseAccessorTest.groovy new file mode 100644 index 00000000..25d807aa --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountBaseAccessorTest.groovy @@ -0,0 +1,148 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountBaseAccessorTest extends Specification { + class TestAccessor extends AccountBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "accountAlerts throws when not set"() { + when: subject.accountAlerts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accountAlerts returns when set"() { + given: + def mock = Mock(AccountAlertBaseAccessor) + subject.setAccountAlerts(mock) + expect: subject.accountAlerts() == mock + } + + def "accountDetails throws when not set"() { + when: subject.accountDetails() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accountDetails returns when set"() { + given: + def mock = Mock(AccountDetailsBaseAccessor) + subject.setAccountDetails(mock) + expect: subject.accountDetails() == mock + } + + def "accountNumbers throws when not set"() { + when: subject.accountNumbers() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accountNumbers returns when set"() { + given: + def mock = Mock(AccountNumbersBaseAccessor) + subject.setAccountNumbers(mock) + expect: subject.accountNumbers() == mock + } + + def "accountOverdrafts throws when not set"() { + when: subject.accountOverdrafts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accountOverdrafts returns when set"() { + given: + def mock = Mock(AccountOverdraftBaseAccessor) + subject.setAccountOverdrafts(mock) + expect: subject.accountOverdrafts() == mock + } + + def "accountOwners throws when not set"() { + when: subject.accountOwners() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accountOwners returns when set"() { + given: + def mock = Mock(AccountOwnerBaseAccessor) + subject.setAccountOwners(mock) + expect: subject.accountOwners() == mock + } + + def "accountStopPayments throws when not set"() { + when: subject.accountStopPayments() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accountStopPayments returns when set"() { + given: + def mock = Mock(AccountStopPaymentsBaseAccessor) + subject.setAccountStopPayments(mock) + expect: subject.accountStopPayments() == mock + } + + def "addresses throws when not set"() { + when: subject.addresses() + then: thrown(AccessorMethodNotImplementedException) + } + + def "addresses returns when set"() { + given: + def mock = Mock(AccountAddressBaseAccessor) + subject.setAddresses(mock) + expect: subject.addresses() == mock + } + + def "transactions throws when not set"() { + when: subject.transactions() + then: thrown(AccessorMethodNotImplementedException) + } + + def "transactions returns when set"() { + given: + def mock = Mock(TransactionBaseAccessor) + subject.setTransactions(mock) + expect: subject.transactions() == mock + } + + def "repayments throws when not set"() { + when: subject.repayments() + then: thrown(AccessorMethodNotImplementedException) + } + + def "repayments returns when set"() { + given: + def mock = Mock(RepaymentBaseAccessor) + subject.setRepayments(mock) + expect: subject.repayments() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountDetailsBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountDetailsBaseAccessorTest.groovy new file mode 100644 index 00000000..e3060eb5 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountDetailsBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountDetailsBaseAccessorTest extends Specification { + class TestAccessor extends AccountDetailsBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountNumbersBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountNumbersBaseAccessorTest.groovy new file mode 100644 index 00000000..3ea74715 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountNumbersBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountNumbersBaseAccessorTest extends Specification { + class TestAccessor extends AccountNumbersBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountOverdraftBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountOverdraftBaseAccessorTest.groovy new file mode 100644 index 00000000..8b5b8842 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountOverdraftBaseAccessorTest.groovy @@ -0,0 +1,25 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountOverdraftBaseAccessorTest extends Specification { + class TestAccessor extends AccountOverdraftBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountOwnerBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountOwnerBaseAccessorTest.groovy new file mode 100644 index 00000000..2b049f0f --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountOwnerBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountOwnerBaseAccessorTest extends Specification { + class TestAccessor extends AccountOwnerBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountStopPaymentReasonsBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountStopPaymentReasonsBaseAccessorTest.groovy new file mode 100644 index 00000000..17217391 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountStopPaymentReasonsBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountStopPaymentReasonsBaseAccessorTest extends Specification { + class TestAccessor extends AccountStopPaymentReasonsBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountStopPaymentsBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountStopPaymentsBaseAccessorTest.groovy new file mode 100644 index 00000000..fbde64e1 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/AccountStopPaymentsBaseAccessorTest.groovy @@ -0,0 +1,37 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountStopPaymentsBaseAccessorTest extends Specification { + class TestAccessor extends AccountStopPaymentsBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create("accountId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list("accountId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "stopPaymentReasons throws when not set"() { + when: subject.stopPaymentReasons() + then: thrown(AccessorMethodNotImplementedException) + } + + def "stopPaymentReasons returns when set"() { + given: + def mock = Mock(AccountStopPaymentReasonsBaseAccessor) + subject.setStopPaymentReasons(mock) + expect: subject.stopPaymentReasons() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/CheckImageBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/CheckImageBaseAccessorTest.groovy new file mode 100644 index 00000000..7b2a37fc --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/CheckImageBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class CheckImageBaseAccessorTest extends Specification { + class TestAccessor extends CheckImageBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("accountId", "transactionId", "checkNumber", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/DisputeBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/DisputeBaseAccessorTest.groovy new file mode 100644 index 00000000..7083e1eb --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/DisputeBaseAccessorTest.groovy @@ -0,0 +1,57 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class DisputeBaseAccessorTest extends Specification { + class TestAccessor extends DisputeBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "start throws"() { + when: subject.start(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "submit throws"() { + when: subject.submit("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "disputedTransactions throws when not set"() { + when: subject.disputedTransactions() + then: thrown(AccessorMethodNotImplementedException) + } + + def "disputedTransactions returns when set"() { + given: + def mock = Mock(DisputedTransactionBaseAccessor) + subject.setDisputedTransactions(mock) + expect: subject.disputedTransactions() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/DisputedTransactionBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/DisputedTransactionBaseAccessorTest.groovy new file mode 100644 index 00000000..a49ec281 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/DisputedTransactionBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class DisputedTransactionBaseAccessorTest extends Specification { + class TestAccessor extends DisputedTransactionBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list("disputeId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create("disputeId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("disputeId", "id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("disputeId", "id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("disputeId", "id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/RepaymentBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/RepaymentBaseAccessorTest.groovy new file mode 100644 index 00000000..3e279950 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/RepaymentBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RepaymentBaseAccessorTest extends Specification { + class TestAccessor extends RepaymentBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list("id") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/TransactionBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/TransactionBaseAccessorTest.groovy new file mode 100644 index 00000000..908653a8 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/account/TransactionBaseAccessorTest.groovy @@ -0,0 +1,54 @@ +package com.mx.path.model.mdx.accessor.account + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class TransactionBaseAccessorTest extends Specification { + class TestAccessor extends TransactionBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "recent throws"() { + when: subject.recent("accountId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list("accountId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "search throws"() { + when: subject.search("accountId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "checkImages throws when not set"() { + when: subject.checkImages() + then: thrown(AccessorMethodNotImplementedException) + } + + def "checkImages returns when set"() { + given: + def mock = Mock(CheckImageBaseAccessor) + subject.setCheckImages(mock) + expect: subject.checkImages() == mock + } + + def "disputes throws when not set"() { + when: subject.disputes() + then: thrown(AccessorMethodNotImplementedException) + } + + def "disputes returns when set"() { + given: + def mock = Mock(DisputeBaseAccessor) + subject.setDisputes(mock) + expect: subject.disputes() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AccountBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AccountBaseAccessorTest.groovy new file mode 100644 index 00000000..a96bcac7 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AccountBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.ach_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountBaseAccessorTest extends Specification { + class TestAccessor extends AccountBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AchAccountBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AchAccountBaseAccessorTest.groovy new file mode 100644 index 00000000..12584ea2 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AchAccountBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.ach_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AchAccountBaseAccessorTest extends Specification { + class TestAccessor extends AchAccountBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AchTransferBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AchTransferBaseAccessorTest.groovy new file mode 100644 index 00000000..236ed26d --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/AchTransferBaseAccessorTest.groovy @@ -0,0 +1,77 @@ +package com.mx.path.model.mdx.accessor.ach_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException +import com.mx.path.model.mdx.accessor.ach_transfer.ach_scheduled_transfer.AchScheduledTransferBaseAccessor + +import spock.lang.Specification + +class AchTransferBaseAccessorTest extends Specification { + class TestAccessor extends AchTransferBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "accounts throws when not set"() { + when: subject.accounts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accounts returns when set"() { + given: + def mock = Mock(AccountBaseAccessor) + subject.setAccounts(mock) + expect: subject.accounts() == mock + } + + def "achAccounts throws when not set"() { + when: subject.achAccounts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "achAccounts returns when set"() { + given: + def mock = Mock(AchAccountBaseAccessor) + subject.setAchAccounts(mock) + expect: subject.achAccounts() == mock + } + + def "scheduled throws when not set"() { + when: subject.scheduled() + then: thrown(AccessorMethodNotImplementedException) + } + + def "scheduled returns when set"() { + given: + def mock = Mock(AchScheduledTransferBaseAccessor) + subject.setScheduled(mock) + expect: subject.scheduled() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/ach_scheduled_transfer/AchScheduledTransferBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/ach_scheduled_transfer/AchScheduledTransferBaseAccessorTest.groovy new file mode 100644 index 00000000..3a3c92eb --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/ach_scheduled_transfer/AchScheduledTransferBaseAccessorTest.groovy @@ -0,0 +1,52 @@ +package com.mx.path.model.mdx.accessor.ach_transfer.ach_scheduled_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AchScheduledTransferBaseAccessorTest extends Specification { + class TestAccessor extends AchScheduledTransferBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "frequencies throws when not set"() { + when: subject.frequencies() + then: thrown(AccessorMethodNotImplementedException) + } + + def "frequencies returns when set"() { + given: + def mock = Mock(FrequencyBaseAccessor) + subject.setFrequencies(mock) + expect: subject.frequencies() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/ach_scheduled_transfer/FrequencyBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/ach_scheduled_transfer/FrequencyBaseAccessorTest.groovy new file mode 100644 index 00000000..2fb61186 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/ach_transfer/ach_scheduled_transfer/FrequencyBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.ach_transfer.ach_scheduled_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class FrequencyBaseAccessorTest extends Specification { + class TestAccessor extends FrequencyBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/authorization/AuthorizationBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/authorization/AuthorizationBaseAccessorTest.groovy new file mode 100644 index 00000000..0f7dbaae --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/authorization/AuthorizationBaseAccessorTest.groovy @@ -0,0 +1,25 @@ +package com.mx.path.model.mdx.accessor.authorization + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AuthorizationBaseAccessorTest extends Specification { + class TestAccessor extends AuthorizationBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "callback throws"() { + when: subject.callback("token") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/CreditReportBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/CreditReportBaseAccessorTest.groovy new file mode 100644 index 00000000..80f8f99a --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/CreditReportBaseAccessorTest.groovy @@ -0,0 +1,59 @@ +package com.mx.path.model.mdx.accessor.credit_report + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class CreditReportBaseAccessorTest extends Specification { + class TestAccessor extends CreditReportBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("reportId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "subscribe throws"() { + when: subject.subscribe() + then: thrown(AccessorMethodNotImplementedException) + } + + def "unsubscribe throws"() { + when: subject.unsubscribe() + then: thrown(AccessorMethodNotImplementedException) + } + + def "scoreFactors throws when not set"() { + when: subject.scoreFactors() + then: thrown(AccessorMethodNotImplementedException) + } + + def "scoreFactors returns when set"() { + given: + def mock = Mock(ScoreFactorBaseAccessor) + subject.setScoreFactors(mock) + expect: subject.scoreFactors() == mock + } + + def "settings throws when not set"() { + when: subject.settings() + then: thrown(AccessorMethodNotImplementedException) + } + + def "settings returns when set"() { + given: + def mock = Mock(CreditReportSettingsBaseAccessor) + subject.setSettings(mock) + expect: subject.settings() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/CreditReportSettingsBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/CreditReportSettingsBaseAccessorTest.groovy new file mode 100644 index 00000000..eeb13cc9 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/CreditReportSettingsBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.credit_report + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class CreditReportSettingsBaseAccessorTest extends Specification { + class TestAccessor extends CreditReportSettingsBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/ScoreFactorBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/ScoreFactorBaseAccessorTest.groovy new file mode 100644 index 00000000..fb85530a --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/credit_report/ScoreFactorBaseAccessorTest.groovy @@ -0,0 +1,25 @@ +package com.mx.path.model.mdx.accessor.credit_report + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class ScoreFactorBaseAccessorTest extends Specification { + class TestAccessor extends ScoreFactorBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("reportId", "factorId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list("reportId") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/CrossAccountRecurringTransferBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/CrossAccountRecurringTransferBaseAccessorTest.groovy new file mode 100644 index 00000000..b9ffdcd4 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/CrossAccountRecurringTransferBaseAccessorTest.groovy @@ -0,0 +1,45 @@ +package com.mx.path.model.mdx.accessor.cross_account_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class CrossAccountRecurringTransferBaseAccessorTest extends Specification { + class TestAccessor extends CrossAccountRecurringTransferBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "skipNext throws"() { + when: subject.skipNext("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/CrossAccountTransferBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/CrossAccountTransferBaseAccessorTest.groovy new file mode 100644 index 00000000..2502acc0 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/CrossAccountTransferBaseAccessorTest.groovy @@ -0,0 +1,95 @@ +package com.mx.path.model.mdx.accessor.cross_account_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class CrossAccountTransferBaseAccessorTest extends Specification { + class TestAccessor extends CrossAccountTransferBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "accounts throws"() { + when: subject.accounts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accountTypes throws"() { + when: subject.accountTypes() + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "fees throws when not set"() { + when: subject.fees() + then: thrown(AccessorMethodNotImplementedException) + } + + def "fees returns when set"() { + given: + def mock = Mock(FeeBaseAccessor) + subject.setFees(mock) + expect: subject.fees() == mock + } + + def "crossAccountRecurring returns null when not set"() { + expect: subject.crossAccountRecurring() == null + } + + def "crossAccountRecurring returns when set"() { + given: + def mock = Mock(CrossAccountRecurringTransferBaseAccessor) + subject.setCrossAccountRecurring(mock) + expect: subject.crossAccountRecurring() == mock + } + + def "destination returns null when not set"() { + expect: subject.destination() == null + } + + def "destination returns when set"() { + given: + def mock = Mock(DestinationBaseAccessor) + subject.setDestination(mock) + expect: subject.destination() == mock + } + + def "frequency returns null when not set"() { + expect: subject.frequency() == null + } + + def "frequency returns when set"() { + given: + def mock = Mock(FrequencyBaseAccessor) + subject.setFrequency(mock) + expect: subject.frequency() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/DestinationBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/DestinationBaseAccessorTest.groovy new file mode 100644 index 00000000..53716603 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/DestinationBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.cross_account_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class DestinationBaseAccessorTest extends Specification { + class TestAccessor extends DestinationBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/FeeBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/FeeBaseAccessorTest.groovy new file mode 100644 index 00000000..3af79b23 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/FeeBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.cross_account_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class FeeBaseAccessorTest extends Specification { + class TestAccessor extends FeeBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/FrequencyBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/FrequencyBaseAccessorTest.groovy new file mode 100644 index 00000000..b7d4a4a5 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/cross_account_transfer/FrequencyBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.cross_account_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class FrequencyBaseAccessorTest extends Specification { + class TestAccessor extends FrequencyBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/device/DeviceBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/device/DeviceBaseAccessorTest.groovy new file mode 100644 index 00000000..e72a4360 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/device/DeviceBaseAccessorTest.groovy @@ -0,0 +1,27 @@ +package com.mx.path.model.mdx.accessor.device + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class DeviceBaseAccessorTest extends Specification { + class TestAccessor extends DeviceBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "verificationMethods throws when not set"() { + when: subject.verificationMethods() + then: thrown(AccessorMethodNotImplementedException) + } + + def "verificationMethods returns when set"() { + given: + def mock = Mock(VerificationMethodsBaseAccessor) + subject.setVerificationMethods(mock) + expect: subject.verificationMethods() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/device/VerificationMethodsBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/device/VerificationMethodsBaseAccessorTest.groovy new file mode 100644 index 00000000..19cba269 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/device/VerificationMethodsBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.device + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class VerificationMethodsBaseAccessorTest extends Specification { + class TestAccessor extends VerificationMethodsBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/document/DocumentBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/document/DocumentBaseAccessorTest.groovy new file mode 100644 index 00000000..e461241d --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/document/DocumentBaseAccessorTest.groovy @@ -0,0 +1,35 @@ +package com.mx.path.model.mdx.accessor.document + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class DocumentBaseAccessorTest extends Specification { + class TestAccessor extends DocumentBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "deliveryPreferences throws"() { + when: subject.deliveryPreferences(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "updateDeliveryPreferences throws"() { + when: subject.updateDeliveryPreferences(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/location/LocationBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/location/LocationBaseAccessorTest.groovy new file mode 100644 index 00000000..fc87f5d6 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/location/LocationBaseAccessorTest.groovy @@ -0,0 +1,25 @@ +package com.mx.path.model.mdx.accessor.location + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class LocationBaseAccessorTest extends Specification { + class TestAccessor extends LocationBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "search throws"() { + when: subject.search(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/managed_card/ManagedCardAlertBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/managed_card/ManagedCardAlertBaseAccessorTest.groovy new file mode 100644 index 00000000..4454e112 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/managed_card/ManagedCardAlertBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.managed_card + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class ManagedCardAlertBaseAccessorTest extends Specification { + class TestAccessor extends ManagedCardAlertBaseAccessor { + TestAccessor() { + super() + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("cardId", "alertId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list("cardId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("cardId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "deliveryMethods throws"() { + when: subject.deliveryMethods("cardId", "alertId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "cards throws"() { + when: subject.cards() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/managed_card/ManagedCardBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/managed_card/ManagedCardBaseAccessorTest.groovy new file mode 100644 index 00000000..c8fb9dd2 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/managed_card/ManagedCardBaseAccessorTest.groovy @@ -0,0 +1,86 @@ +package com.mx.path.model.mdx.accessor.managed_card + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class ManagedCardBaseAccessorTest extends Specification { + class TestAccessor extends ManagedCardBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "activate throws"() { + when: subject.activate("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "enable throws"() { + when: subject.enable("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "getUnmaskedCardNumber throws"() { + when: subject.getUnmaskedCardNumber("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "getCvv throws"() { + when: subject.getCvv("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "pause throws"() { + when: subject.pause("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "replace throws"() { + when: subject.replace("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "setPin throws"() { + when: subject.setPin("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "updateNotificationPreferences throws"() { + when: subject.updateNotificationPreferences("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "alerts returns null when not set"() { + expect: subject.alerts() == null + } + + def "alerts returns when set"() { + given: + def mock = Mock(ManagedCardAlertBaseAccessor) + subject.setAlerts(mock) + expect: subject.alerts() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/origination/OriginationBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/origination/OriginationBaseAccessorTest.groovy new file mode 100644 index 00000000..663fa14b --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/origination/OriginationBaseAccessorTest.groovy @@ -0,0 +1,35 @@ +package com.mx.path.model.mdx.accessor.origination + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class OriginationBaseAccessorTest extends Specification { + class TestAccessor extends OriginationBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "start throws"() { + when: subject.start() + then: thrown(AccessorMethodNotImplementedException) + } + + def "answerChallenge throws"() { + when: subject.answerChallenge("id", "challengeId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "authenticatedUserStart throws"() { + when: subject.authenticatedUserStart("userId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "authenticatedUserAnswerChallenge throws"() { + when: subject.authenticatedUserAnswerChallenge("userId", "id", "challengeId", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/FrequencyBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/FrequencyBaseAccessorTest.groovy new file mode 100644 index 00000000..c699ef75 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/FrequencyBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.p2p_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class FrequencyBaseAccessorTest extends Specification { + class TestAccessor extends FrequencyBaseAccessor { + TestAccessor() { + super() + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/P2PTransferBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/P2PTransferBaseAccessorTest.groovy new file mode 100644 index 00000000..7b4d232c --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/P2PTransferBaseAccessorTest.groovy @@ -0,0 +1,67 @@ +package com.mx.path.model.mdx.accessor.p2p_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class P2PTransferBaseAccessorTest extends Specification { + def subject = new P2PTransferBaseAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "sources returns null when not set"() { + expect: subject.sources() == null + } + + def "sources returns when set"() { + given: + def mock = Mock(SourceBaseAccessor) + subject.setSources(mock) + expect: subject.sources() == mock + } + + def "recurring returns null when not set"() { + expect: subject.recurring() == null + } + + def "recurring returns when set"() { + given: + def mock = Mock(RecurringP2PTransferBaseAccessor) + subject.setRecurring(mock) + expect: subject.recurring() == mock + } + + def "recipients returns null when not set"() { + expect: subject.recipients() == null + } + + def "recipients returns when set"() { + given: + def mock = Mock(RecipientBaseAccessor) + subject.setRecipients(mock) + expect: subject.recipients() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/RecipientBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/RecipientBaseAccessorTest.groovy new file mode 100644 index 00000000..7470fc99 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/RecipientBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.p2p_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RecipientBaseAccessorTest extends Specification { + class TestAccessor extends RecipientBaseAccessor { + TestAccessor() { + super() + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/RecurringP2PTransferBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/RecurringP2PTransferBaseAccessorTest.groovy new file mode 100644 index 00000000..d495c68e --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/RecurringP2PTransferBaseAccessorTest.groovy @@ -0,0 +1,51 @@ +package com.mx.path.model.mdx.accessor.p2p_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RecurringP2PTransferBaseAccessorTest extends Specification { + class TestAccessor extends RecurringP2PTransferBaseAccessor { + TestAccessor() { + super() + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "frequencies returns null when not set"() { + expect: subject.frequencies() == null + } + + def "frequencies returns when set"() { + given: + def mock = Mock(FrequencyBaseAccessor) + subject.setFrequencies(mock) + expect: subject.frequencies() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/SourceBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/SourceBaseAccessorTest.groovy new file mode 100644 index 00000000..5e2e268a --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/p2p_transfer/SourceBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.p2p_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class SourceBaseAccessorTest extends Specification { + class TestAccessor extends SourceBaseAccessor { + TestAccessor() { + super() + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/BillBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/BillBaseAccessorTest.groovy new file mode 100644 index 00000000..26e8eeb5 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/BillBaseAccessorTest.groovy @@ -0,0 +1,25 @@ +package com.mx.path.model.mdx.accessor.payment + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class BillBaseAccessorTest extends Specification { + class TestAccessor extends BillBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/MerchantBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/MerchantBaseAccessorTest.groovy new file mode 100644 index 00000000..c1ec2b26 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/MerchantBaseAccessorTest.groovy @@ -0,0 +1,30 @@ +package com.mx.path.model.mdx.accessor.payment + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class MerchantBaseAccessorTest extends Specification { + class TestAccessor extends MerchantBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list("name") + then: thrown(AccessorMethodNotImplementedException) + } + + def "search throws"() { + when: subject.search("merchantCategoryId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "categories throws"() { + when: subject.categories() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/PayeeBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/PayeeBaseAccessorTest.groovy new file mode 100644 index 00000000..b01c836d --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/PayeeBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.payment + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class PayeeBaseAccessorTest extends Specification { + class TestAccessor extends PayeeBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/PaymentBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/PaymentBaseAccessorTest.groovy new file mode 100644 index 00000000..328dd013 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/PaymentBaseAccessorTest.groovy @@ -0,0 +1,123 @@ +package com.mx.path.model.mdx.accessor.payment + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class PaymentBaseAccessorTest extends Specification { + class TestAccessor extends PaymentBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "enrollment throws"() { + when: subject.enrollment() + then: thrown(AccessorMethodNotImplementedException) + } + + def "updateEnrollment throws"() { + when: subject.updateEnrollment(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "settings throws"() { + when: subject.settings() + then: thrown(AccessorMethodNotImplementedException) + } + + def "updateSettings throws"() { + when: subject.updateSettings(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "settings20260427 throws"() { + when: subject.settings20260427() + then: thrown(AccessorMethodNotImplementedException) + } + + def "updateSettings20260427 throws"() { + when: subject.updateSettings20260427(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "accounts throws"() { + when: subject.accounts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "bills throws when not set"() { + when: subject.bills() + then: thrown(AccessorMethodNotImplementedException) + } + + def "bills returns when set"() { + given: + def mock = Mock(BillBaseAccessor) + subject.setBills(mock) + expect: subject.bills() == mock + } + + def "merchants throws when not set"() { + when: subject.merchants() + then: thrown(AccessorMethodNotImplementedException) + } + + def "merchants returns when set"() { + given: + def mock = Mock(MerchantBaseAccessor) + subject.setMerchants(mock) + expect: subject.merchants() == mock + } + + def "payees throws when not set"() { + when: subject.payees() + then: thrown(AccessorMethodNotImplementedException) + } + + def "payees returns when set"() { + given: + def mock = Mock(PayeeBaseAccessor) + subject.setPayees(mock) + expect: subject.payees() == mock + } + + def "recurring throws when not set"() { + when: subject.recurring() + then: thrown(AccessorMethodNotImplementedException) + } + + def "recurring returns when set"() { + given: + def mock = Mock(RecurringPaymentBaseAccessor) + subject.setRecurring(mock) + expect: subject.recurring() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/RecurringPaymentBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/RecurringPaymentBaseAccessorTest.groovy new file mode 100644 index 00000000..af4a7292 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payment/RecurringPaymentBaseAccessorTest.groovy @@ -0,0 +1,45 @@ +package com.mx.path.model.mdx.accessor.payment + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RecurringPaymentBaseAccessorTest extends Specification { + class TestAccessor extends RecurringPaymentBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "frequencies throws"() { + when: subject.frequencies() + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/PayoutBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/PayoutBaseAccessorTest.groovy new file mode 100644 index 00000000..5049885c --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/PayoutBaseAccessorTest.groovy @@ -0,0 +1,69 @@ +package com.mx.path.model.mdx.accessor.payout + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class PayoutBaseAccessorTest extends Specification { + class TestAccessor extends PayoutBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "accounts throws"() { + when: subject.accounts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "enroll throws"() { + when: subject.enroll() + then: thrown(AccessorMethodNotImplementedException) + } + + def "recipients throws when not set"() { + when: subject.recipients() + then: thrown(AccessorMethodNotImplementedException) + } + + def "recipients returns when set"() { + given: + def mock = Mock(RecipientBaseAccessor) + subject.setRecipients(mock) + expect: subject.recipients() == mock + } + + def "recurring throws when not set"() { + when: subject.recurring() + then: thrown(AccessorMethodNotImplementedException) + } + + def "recurring returns when set"() { + given: + def mock = Mock(RecurringBaseAccessor) + subject.setRecurring(mock) + expect: subject.recurring() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/PayoutMethodBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/PayoutMethodBaseAccessorTest.groovy new file mode 100644 index 00000000..edffcedb --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/PayoutMethodBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.payout + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class PayoutMethodBaseAccessorTest extends Specification { + class TestAccessor extends PayoutMethodBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create("recipientId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list("recipientId") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("recipientId", "id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("recipientId", "id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("recipientId", "id") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/RecipientBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/RecipientBaseAccessorTest.groovy new file mode 100644 index 00000000..fff801c0 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/RecipientBaseAccessorTest.groovy @@ -0,0 +1,52 @@ +package com.mx.path.model.mdx.accessor.payout + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RecipientBaseAccessorTest extends Specification { + class TestAccessor extends RecipientBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list(false) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "payoutMethods throws when not set"() { + when: subject.payoutMethods() + then: thrown(AccessorMethodNotImplementedException) + } + + def "payoutMethods returns when set"() { + given: + def mock = Mock(PayoutMethodBaseAccessor) + subject.setPayoutMethods(mock) + expect: subject.payoutMethods() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/RecurringBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/RecurringBaseAccessorTest.groovy new file mode 100644 index 00000000..cc9bfd3b --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/payout/RecurringBaseAccessorTest.groovy @@ -0,0 +1,50 @@ +package com.mx.path.model.mdx.accessor.payout + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RecurringBaseAccessorTest extends Specification { + class TestAccessor extends RecurringBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "frequencies throws"() { + when: subject.frequencies() + then: thrown(AccessorMethodNotImplementedException) + } + + def "skipNext throws"() { + when: subject.skipNext("id") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/products/ProductBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/products/ProductBaseAccessorTest.groovy new file mode 100644 index 00000000..8f7a2df4 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/products/ProductBaseAccessorTest.groovy @@ -0,0 +1,30 @@ +package com.mx.path.model.mdx.accessor.products + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class ProductBaseAccessorTest extends Specification { + class TestAccessor extends ProductBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/AddressBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/AddressBaseAccessorTest.groovy new file mode 100644 index 00000000..87d1c646 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/AddressBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.profile + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AddressBaseAccessorTest extends Specification { + class TestAccessor extends AddressBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/ChallengeQuestionBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/ChallengeQuestionBaseAccessorTest.groovy new file mode 100644 index 00000000..49441f8e --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/ChallengeQuestionBaseAccessorTest.groovy @@ -0,0 +1,25 @@ +package com.mx.path.model.mdx.accessor.profile + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class ChallengeQuestionBaseAccessorTest extends Specification { + class TestAccessor extends ChallengeQuestionBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/EmailBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/EmailBaseAccessorTest.groovy new file mode 100644 index 00000000..fcc0e596 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/EmailBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.profile + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class EmailBaseAccessorTest extends Specification { + class TestAccessor extends EmailBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/PhoneBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/PhoneBaseAccessorTest.groovy new file mode 100644 index 00000000..1da33fd6 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/PhoneBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.profile + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class PhoneBaseAccessorTest extends Specification { + class TestAccessor extends PhoneBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/ProfileBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/ProfileBaseAccessorTest.groovy new file mode 100644 index 00000000..eddaa07a --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/ProfileBaseAccessorTest.groovy @@ -0,0 +1,104 @@ +package com.mx.path.model.mdx.accessor.profile + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class ProfileBaseAccessorTest extends Specification { + def subject = new ProfileBaseAccessor() + + def "get throws"() { + when: subject.get() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "updateUserName throws"() { + when: subject.updateUserName(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "updatePassword throws"() { + when: subject.updatePassword(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "updatePasswordResume throws"() { + when: subject.updatePasswordResume("challengeId", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "updateUserNameWithMFA throws"() { + when: subject.updateUserNameWithMFA(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "updatePasswordWithMFA throws"() { + when: subject.updatePasswordWithMFA(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "addresses throws when not set"() { + when: subject.addresses() + then: thrown(AccessorMethodNotImplementedException) + } + + def "addresses returns when set"() { + given: + def mock = Mock(AddressBaseAccessor) + subject.setAddresses(mock) + expect: subject.addresses() == mock + } + + def "challengeQuestions throws when not set"() { + when: subject.challengeQuestions() + then: thrown(AccessorMethodNotImplementedException) + } + + def "challengeQuestions returns when set"() { + given: + def mock = Mock(ChallengeQuestionBaseAccessor) + subject.setChallengeQuestions(mock) + expect: subject.challengeQuestions() == mock + } + + def "securityQuestions throws when not set"() { + when: subject.securityQuestions() + then: thrown(AccessorMethodNotImplementedException) + } + + def "securityQuestions returns when set"() { + given: + def mock = Mock(SecurityQuestionBaseAccessor) + subject.setSecurityQuestions(mock) + expect: subject.securityQuestions() == mock + } + + def "emails throws when not set"() { + when: subject.emails() + then: thrown(AccessorMethodNotImplementedException) + } + + def "emails returns when set"() { + given: + def mock = Mock(EmailBaseAccessor) + subject.setEmails(mock) + expect: subject.emails() == mock + } + + def "phones throws when not set"() { + when: subject.phones() + then: thrown(AccessorMethodNotImplementedException) + } + + def "phones returns when set"() { + given: + def mock = Mock(PhoneBaseAccessor) + subject.setPhones(mock) + expect: subject.phones() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/SecurityQuestionBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/SecurityQuestionBaseAccessorTest.groovy new file mode 100644 index 00000000..0655273f --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/profile/SecurityQuestionBaseAccessorTest.groovy @@ -0,0 +1,25 @@ +package com.mx.path.model.mdx.accessor.profile + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class SecurityQuestionBaseAccessorTest extends Specification { + class TestAccessor extends SecurityQuestionBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/remote_deposit/RemoteDepositBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/remote_deposit/RemoteDepositBaseAccessorTest.groovy new file mode 100644 index 00000000..c28a0fc5 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/remote_deposit/RemoteDepositBaseAccessorTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.accessor.remote_deposit + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RemoteDepositBaseAccessorTest extends Specification { + class TestAccessor extends RemoteDepositBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "accounts throws"() { + when: subject.accounts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list() + then: thrown(AccessorMethodNotImplementedException) + } + + def "limits throws"() { + when: subject.limits() + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/AccountBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/AccountBaseAccessorTest.groovy new file mode 100644 index 00000000..d39c8103 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/AccountBaseAccessorTest.groovy @@ -0,0 +1,30 @@ +package com.mx.path.model.mdx.accessor.transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AccountBaseAccessorTest extends Specification { + class TestAccessor extends AccountBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "fromAccounts throws"() { + when: subject.fromAccounts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "toAccounts throws"() { + when: subject.toAccounts("fromAccountId") + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/AmountOptionBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/AmountOptionBaseAccessorTest.groovy new file mode 100644 index 00000000..b7dda318 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/AmountOptionBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class AmountOptionBaseAccessorTest extends Specification { + class TestAccessor extends AmountOptionBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/FeeBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/FeeBaseAccessorTest.groovy new file mode 100644 index 00000000..cbf01424 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/FeeBaseAccessorTest.groovy @@ -0,0 +1,25 @@ +package com.mx.path.model.mdx.accessor.transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class FeeBaseAccessorTest extends Specification { + class TestAccessor extends FeeBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list by id throws"() { + when: subject.list("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list by options throws"() { + when: subject.list((com.mx.path.model.mdx.model.transfer.options.FeeListOptions) null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/RepaymentBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/RepaymentBaseAccessorTest.groovy new file mode 100644 index 00000000..b0a70ba4 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/RepaymentBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RepaymentBaseAccessorTest extends Specification { + class TestAccessor extends RepaymentBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list("id", null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/TransferBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/TransferBaseAccessorTest.groovy new file mode 100644 index 00000000..ff6d4671 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/TransferBaseAccessorTest.groovy @@ -0,0 +1,111 @@ +package com.mx.path.model.mdx.accessor.transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException +import com.mx.path.model.mdx.accessor.transfer.recurring_transfer.RecurringTransferBaseAccessor + +import spock.lang.Specification + +class TransferBaseAccessorTest extends Specification { + class TestAccessor extends TransferBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "cancel throws"() { + when: subject.cancel("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "start throws"() { + when: subject.start(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "finish throws"() { + when: subject.finish("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "accounts throws when not set"() { + when: subject.accounts() + then: thrown(AccessorMethodNotImplementedException) + } + + def "accounts returns when set"() { + given: + def mock = Mock(AccountBaseAccessor) + subject.setAccounts(mock) + expect: subject.accounts() == mock + } + + def "recurring throws when not set"() { + when: subject.recurring() + then: thrown(AccessorMethodNotImplementedException) + } + + def "recurring returns when set"() { + given: + def mock = Mock(RecurringTransferBaseAccessor) + subject.setRecurring(mock) + expect: subject.recurring() == mock + } + + def "transferAmountOptions throws when not set"() { + when: subject.transferAmountOptions() + then: thrown(AccessorMethodNotImplementedException) + } + + def "transferAmountOptions returns when set"() { + given: + def mock = Mock(AmountOptionBaseAccessor) + subject.setTransferAmountOptions(mock) + expect: subject.transferAmountOptions() == mock + } + + def "fees throws when not set"() { + when: subject.fees() + then: thrown(AccessorMethodNotImplementedException) + } + + def "fees returns when set"() { + given: + def mock = Mock(FeeBaseAccessor) + subject.setFees(mock) + expect: subject.fees() == mock + } + + def "repayments throws when not set"() { + when: subject.repayments() + then: thrown(AccessorMethodNotImplementedException) + } + + def "repayments returns when set"() { + given: + def mock = Mock(RepaymentBaseAccessor) + subject.setRepayments(mock) + expect: subject.repayments() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/recurring_transfer/FrequencyBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/recurring_transfer/FrequencyBaseAccessorTest.groovy new file mode 100644 index 00000000..699bf86a --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/recurring_transfer/FrequencyBaseAccessorTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.accessor.transfer.recurring_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class FrequencyBaseAccessorTest extends Specification { + class TestAccessor extends FrequencyBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/recurring_transfer/RecurringTransferBaseAccessorTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/recurring_transfer/RecurringTransferBaseAccessorTest.groovy new file mode 100644 index 00000000..06d43e1e --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/accessor/transfer/recurring_transfer/RecurringTransferBaseAccessorTest.groovy @@ -0,0 +1,57 @@ +package com.mx.path.model.mdx.accessor.transfer.recurring_transfer + +import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException + +import spock.lang.Specification + +class RecurringTransferBaseAccessorTest extends Specification { + class TestAccessor extends RecurringTransferBaseAccessor { + TestAccessor() { + super(null) + } + } + + def subject = new TestAccessor() + + def "create throws"() { + when: subject.create(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "delete throws"() { + when: subject.delete("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "get throws"() { + when: subject.get("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "list throws"() { + when: subject.list(null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "skipNext throws"() { + when: subject.skipNext("id") + then: thrown(AccessorMethodNotImplementedException) + } + + def "update throws"() { + when: subject.update("id", null) + then: thrown(AccessorMethodNotImplementedException) + } + + def "frequencies throws when not set"() { + when: subject.frequencies() + then: thrown(AccessorMethodNotImplementedException) + } + + def "frequencies returns when set"() { + given: + def mock = Mock(FrequencyBaseAccessor) + subject.setFrequencies(mock) + expect: subject.frequencies() == mock + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/AccountTypeTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/AccountTypeTest.groovy new file mode 100644 index 00000000..186e37b7 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/AccountTypeTest.groovy @@ -0,0 +1,20 @@ +package com.mx.path.model.mdx.model + +import spock.lang.Specification + +class AccountTypeTest extends Specification { + def "getters and setters"() { + given: + def subject = new AccountType() + + when: + subject.setId("id1") + subject.setName("checking") + subject.setIsNumberRequired(true) + + then: + subject.getId() == "id1" + subject.getName() == "checking" + subject.getIsNumberRequired() == true + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/CharArrayAdapterTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/CharArrayAdapterTest.groovy new file mode 100644 index 00000000..50051fc7 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/CharArrayAdapterTest.groovy @@ -0,0 +1,76 @@ +package com.mx.path.model.mdx.model + +import com.google.gson.stream.JsonReader +import com.google.gson.stream.JsonToken +import com.google.gson.stream.JsonWriter + +import spock.lang.Specification + +class CharArrayAdapterTest extends Specification { + def subject = new CharArrayAdapter() + + def "write null value"() { + given: + def writer = Mock(JsonWriter) + + when: + subject.write(writer, null) + + then: + 1 * writer.nullValue() + } + + def "write char array"() { + given: + def writer = Mock(JsonWriter) + + when: + subject.write(writer, ['h', 'i'] as char[]) + + then: + 1 * writer.value("hi") + } + + def "read null token returns empty array"() { + given: + def reader = Mock(JsonReader) { + peek() >> JsonToken.NULL + } + + when: + def result = subject.read(reader) + + then: + 1 * reader.nextNull() + result.length == 0 + } + + def "read string value"() { + given: + def reader = Mock(JsonReader) { + peek() >> JsonToken.STRING + hasNext() >> true + nextString() >> "hello" + } + + when: + def result = subject.read(reader) + + then: + result == 'hello'.toCharArray() + } + + def "read with no next returns empty array"() { + given: + def reader = Mock(JsonReader) { + peek() >> JsonToken.STRING + hasNext() >> false + } + + when: + def result = subject.read(reader) + + then: + result.length == 0 + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/FrequencyTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/FrequencyTest.groovy new file mode 100644 index 00000000..b83c9cd2 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/FrequencyTest.groovy @@ -0,0 +1,40 @@ +package com.mx.path.model.mdx.model + +import spock.lang.Specification + +class FrequencyTest extends Specification { + def "default constructor"() { + when: + def subject = new Frequency() + + then: + subject.getId() == null + subject.getName() == null + subject.getDescription() == null + } + + def "parameterized constructor and getters"() { + when: + def subject = new Frequency("monthly", "Monthly", "Once per month") + + then: + subject.getId() == "monthly" + subject.getName() == "Monthly" + subject.getDescription() == "Once per month" + } + + def "setters"() { + given: + def subject = new Frequency() + + when: + subject.setId("weekly") + subject.setName("Weekly") + subject.setDescription("Once per week") + + then: + subject.getId() == "weekly" + subject.getName() == "Weekly" + subject.getDescription() == "Once per week" + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/MdxMappingExceptionTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/MdxMappingExceptionTest.groovy new file mode 100644 index 00000000..45e22a65 --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/MdxMappingExceptionTest.groovy @@ -0,0 +1,13 @@ +package com.mx.path.model.mdx.model + +import spock.lang.Specification + +class MdxMappingExceptionTest extends Specification { + def "constructor stores message"() { + when: + def ex = new MdxMappingException("mapping failed") + + then: + ex.getMessage() == "mapping failed" + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/ModelWrappableSerializerTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/ModelWrappableSerializerTest.groovy new file mode 100644 index 00000000..0de2b5af --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/ModelWrappableSerializerTest.groovy @@ -0,0 +1,80 @@ +package com.mx.path.model.mdx.model + +import com.google.gson.Gson +import com.google.gson.JsonParseException +import com.google.gson.JsonPrimitive +import com.mx.path.model.mdx.model.account.Account + +import spock.lang.Specification + +class ModelWrappableSerializerTest extends Specification { + def subject = new ModelWrappableSerializer("account") + + def "deserialize unwrapped object"() { + given: + def gson = new Gson() + def json = gson.toJsonTree([id: "123"]) + def context = Mock(com.google.gson.JsonDeserializationContext) { + deserialize(_, _) >> new Account() + } + + when: + def result = subject.deserialize(json, Account, context) + + then: + result != null + } + + def "deserialize wrapped object"() { + given: + def gson = new Gson() + def json = gson.toJsonTree([account: [id: "123"]]) + def context = Mock(com.google.gson.JsonDeserializationContext) { + deserialize(_, _) >> new Account() + } + + when: + def result = subject.deserialize(json, Account, context) + + then: + result != null + } + + def "deserialize non-object throws"() { + given: + def json = new JsonPrimitive("not-an-object") + + when: + subject.deserialize(json, Account, null) + + then: + thrown(JsonParseException) + } + + def "serialize unwrapped"() { + given: + def account = new Account() + account.setId("123") + + when: + def result = subject.serialize(account, Account, null) + + then: + result.isJsonObject() + result.asJsonObject.has("id") + } + + def "serialize wrapped"() { + given: + def account = new Account() + account.setId("123") + account.wrapped = true + + when: + def result = subject.serialize(account, Account, null) + + then: + result.isJsonObject() + result.asJsonObject.has("account") + } +} diff --git a/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/ResourcesTest.groovy b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/ResourcesTest.groovy new file mode 100644 index 00000000..ba1f8b9d --- /dev/null +++ b/mdx-models/src/test/groovy/com/mx/path/model/mdx/model/ResourcesTest.groovy @@ -0,0 +1,30 @@ +package com.mx.path.model.mdx.model + +import com.fasterxml.jackson.databind.module.SimpleModule +import com.google.gson.GsonBuilder + +import spock.lang.Specification + +class ResourcesTest extends Specification { + def "registerResources registers all Gson type adapters"() { + given: + def builder = new GsonBuilder() + + when: + Resources.registerResources(builder) + + then: + builder.create() != null + } + + def "registerOnDemandResources registers all Jackson type adapters"() { + given: + def module = new SimpleModule() + + when: + Resources.registerOnDemandResources(module) + + then: + module != null + } +} diff --git a/mdx-web/gradle.lockfile b/mdx-web/gradle.lockfile index 9cc52008..9349233b 100644 --- a/mdx-web/gradle.lockfile +++ b/mdx-web/gradle.lockfile @@ -23,13 +23,16 @@ com.fasterxml.jackson:jackson-bom:2.21.3=runtimeClasspath,testRuntimeClasspath com.fasterxml.woodstox:woodstox-core:7.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,compileClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath -com.github.spotbugs:spotbugs:4.9.8=spotbugs +com.github.spotbugs:spotbugs-annotations:4.10.2=compileClasspath,spotbugs,testCompileClasspath +com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,testAnnotationProcessor +com.github.spotbugs:spotbugs:4.10.2=spotbugs com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath -com.google.code.gson:gson:2.13.2=compileClasspath,pmd,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.13.2=compileClasspath,pmd,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.14.0=spotbugs com.google.errorprone:error_prone_annotations:2.36.0=checkstyle -com.google.errorprone:error_prone_annotations:2.41.0=compileClasspath,pmd,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.41.0=compileClasspath,pmd,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.48.0=spotbugs com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:failureaccess:1.0.3=checkstyle com.google.guava:guava:32.1.3-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath @@ -55,7 +58,7 @@ commons-codec:commons-codec:1.15=checkstyle commons-codec:commons-codec:1.18.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath commons-collections:commons-collections:3.2.2=checkstyle,runtimeClasspath,testRuntimeClasspath commons-io:commons-io:2.14.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -commons-io:commons-io:2.20.0=spotbugs +commons-io:commons-io:2.21.0=spotbugs commons-logging:commons-logging:1.3.5=runtimeClasspath,testRuntimeClasspath info.picocli:picocli:4.7.7=checkstyle io.github.cdimascio:dotenv-java:2.3.2=runtimeClasspath,testRuntimeClasspath @@ -70,7 +73,7 @@ jakarta.activation:jakarta.activation-api:2.1.4=compileClasspath,runtimeClasspat jakarta.annotation:jakarta.annotation-api:2.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.bind:jakarta.xml.bind-api:4.0.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.soap:jakarta.xml.soap-api:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -jaxen:jaxen:2.0.0=spotbugs +jaxen:jaxen:2.0.6=spotbugs net.bytebuddy:byte-buddy-agent:1.17.8=testCompileClasspath,testRuntimeClasspath net.bytebuddy:byte-buddy:1.18.3=testCompileClasspath,testRuntimeClasspath net.minidev:accessors-smart:2.5.2=testCompileClasspath,testRuntimeClasspath @@ -82,12 +85,10 @@ net.sourceforge.pmd:pmd-core:7.22.0=pmd net.sourceforge.pmd:pmd-java:7.22.0=pmd org.antlr:antlr4-runtime:4.13.2=checkstyle org.antlr:antlr4-runtime:4.9.3=pmd -org.apache.bcel:bcel:6.11.0=spotbugs +org.apache.bcel:bcel:6.12.0=spotbugs org.apache.commons:commons-lang3:3.18.0=checkstyle -org.apache.commons:commons-lang3:3.19.0=spotbugs -org.apache.commons:commons-lang3:3.20.0=compileClasspath,pmd,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.apache.commons:commons-text:1.14.0=spotbugs -org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-lang3:3.20.0=compileClasspath,pmd,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath org.apache.commons:commons-text:1.3=checkstyle org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle @@ -97,8 +98,8 @@ org.apache.httpcomponents:httpclient:4.5.14=runtimeClasspath,testRuntimeClasspat org.apache.httpcomponents:httpcore:4.4.14=checkstyle org.apache.httpcomponents:httpcore:4.4.16=runtimeClasspath,testRuntimeClasspath org.apache.logging.log4j:log4j-api:2.24.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.apache.logging.log4j:log4j-api:2.25.3=spotbugs -org.apache.logging.log4j:log4j-core:2.25.3=spotbugs +org.apache.logging.log4j:log4j-api:2.26.0=spotbugs +org.apache.logging.log4j:log4j-core:2.26.0=spotbugs org.apache.logging.log4j:log4j-to-slf4j:2.24.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.apache.maven.doxia:doxia-core:1.12.0=checkstyle org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle @@ -139,20 +140,21 @@ org.junit.jupiter:junit-jupiter:5.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-commons:1.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-engine:1.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-launcher:1.14.0=testRuntimeClasspath -org.junit:junit-bom:5.14.0=annotationProcessor,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:5.14.0=annotationProcessor,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:6.1.0=spotbugs org.mockito:mockito-core:5.17.0=testCompileClasspath,testRuntimeClasspath org.mockito:mockito-junit-jupiter:5.17.0=testCompileClasspath,testRuntimeClasspath org.objenesis:objenesis:3.3=runtimeClasspath,testRuntimeClasspath org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath -org.ow2.asm:asm-analysis:9.9=spotbugs +org.ow2.asm:asm-analysis:9.10.1=spotbugs +org.ow2.asm:asm-commons:9.10.1=spotbugs org.ow2.asm:asm-commons:9.8=jacocoAnt -org.ow2.asm:asm-commons:9.9=spotbugs +org.ow2.asm:asm-tree:9.10.1=spotbugs org.ow2.asm:asm-tree:9.8=jacocoAnt -org.ow2.asm:asm-tree:9.9=spotbugs -org.ow2.asm:asm-util:9.9=spotbugs +org.ow2.asm:asm-util:9.10.1=spotbugs +org.ow2.asm:asm:9.10.1=spotbugs org.ow2.asm:asm:9.7.1=testCompileClasspath,testRuntimeClasspath org.ow2.asm:asm:9.8=jacocoAnt -org.ow2.asm:asm:9.9=spotbugs org.ow2.asm:asm:9.9.1=pmd org.pcollections:pcollections:4.0.2=pmd org.projectlombok:lombok:1.18.42=annotationProcessor,lombok,testAnnotationProcessor @@ -161,7 +163,8 @@ org.reflections:reflections:0.10.2=checkstyle,runtimeClasspath,testRuntimeClassp org.skyscreamer:jsonassert:1.5.3=testCompileClasspath,testRuntimeClasspath org.slf4j:jul-to-slf4j:1.7.36=pmd org.slf4j:jul-to-slf4j:2.0.17=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.slf4j:slf4j-api:2.0.17=compileClasspath,runtimeClasspath,spotbugs,spotbugsSlf4j,testCompileClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:2.0.17=compileClasspath,runtimeClasspath,spotbugsSlf4j,testCompileClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:2.0.18=spotbugs org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j org.spockframework:spock-bom:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath org.spockframework:spock-core:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath diff --git a/mdx-web/src/main/java/com/mx/path/model/mdx/web/SpringMdxGatewayManager.java b/mdx-web/src/main/java/com/mx/path/model/mdx/web/SpringMdxGatewayManager.java index 3e49f8b7..a64e1732 100644 --- a/mdx-web/src/main/java/com/mx/path/model/mdx/web/SpringMdxGatewayManager.java +++ b/mdx-web/src/main/java/com/mx/path/model/mdx/web/SpringMdxGatewayManager.java @@ -162,6 +162,7 @@ public static void registerGatewayFileContentPreprocessor(ConsumerThis class is loaded by Spring. If reset is called on it, there is no way for Spring to know it needs to be reinitialized. */ + @SuppressFBWarnings("USO_UNSAFE_STATIC_METHOD_SYNCHRONIZATION") public static synchronized void reset() { configurator = new GatewayConfigurator(); gateways = null; @@ -175,6 +176,7 @@ public static synchronized void reset() { /** * Use {@link #reset()} */ + @SuppressFBWarnings("USO_UNSAFE_STATIC_METHOD_SYNCHRONIZATION") @Deprecated public static synchronized void resetAfterInitialized() { initialized = false; diff --git a/realtime/gradle.lockfile b/realtime/gradle.lockfile index 15b40749..0c77da78 100644 --- a/realtime/gradle.lockfile +++ b/realtime/gradle.lockfile @@ -17,15 +17,16 @@ com.fasterxml.jackson:jackson-bom:2.21.3=runtimeClasspath,testRuntimeClasspath com.fasterxml.woodstox:woodstox-core:7.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,compileClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath -com.github.spotbugs:spotbugs:4.9.8=spotbugs +com.github.spotbugs:spotbugs-annotations:4.10.2=compileClasspath,spotbugs,testCompileClasspath +com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,testAnnotationProcessor +com.github.spotbugs:spotbugs:4.10.2=spotbugs com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath -com.google.code.gson:gson:2.13.2=pmd,spotbugs -com.google.code.gson:gson:2.14.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.13.2=pmd +com.google.code.gson:gson:2.14.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath com.google.errorprone:error_prone_annotations:2.36.0=checkstyle -com.google.errorprone:error_prone_annotations:2.41.0=pmd,spotbugs -com.google.errorprone:error_prone_annotations:2.48.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.41.0=pmd +com.google.errorprone:error_prone_annotations:2.48.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:failureaccess:1.0.3=checkstyle com.google.guava:guava:32.1.3-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath @@ -49,7 +50,7 @@ commons-beanutils:commons-beanutils:1.11.0=checkstyle,runtimeClasspath,testRunti commons-codec:commons-codec:1.14=runtimeClasspath,testRuntimeClasspath commons-codec:commons-codec:1.15=checkstyle commons-collections:commons-collections:3.2.2=checkstyle,runtimeClasspath,testRuntimeClasspath -commons-io:commons-io:2.20.0=spotbugs +commons-io:commons-io:2.21.0=spotbugs commons-logging:commons-logging:1.3.5=runtimeClasspath,testRuntimeClasspath info.picocli:picocli:4.7.7=checkstyle io.github.cdimascio:dotenv-java:2.3.2=runtimeClasspath,testRuntimeClasspath @@ -60,7 +61,7 @@ io.opentracing:opentracing-util:0.33.0=compileClasspath,runtimeClasspath,testCom jakarta.activation:jakarta.activation-api:2.1.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.bind:jakarta.xml.bind-api:4.0.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.xml.soap:jakarta.xml.soap-api:3.0.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -jaxen:jaxen:2.0.0=spotbugs +jaxen:jaxen:2.0.6=spotbugs net.bytebuddy:byte-buddy-agent:1.17.7=testCompileClasspath,testRuntimeClasspath net.bytebuddy:byte-buddy:1.17.7=testCompileClasspath net.bytebuddy:byte-buddy:1.18.3=testRuntimeClasspath @@ -71,12 +72,10 @@ net.sourceforge.pmd:pmd-core:7.22.0=pmd net.sourceforge.pmd:pmd-java:7.22.0=pmd org.antlr:antlr4-runtime:4.13.2=checkstyle org.antlr:antlr4-runtime:4.9.3=pmd -org.apache.bcel:bcel:6.11.0=spotbugs +org.apache.bcel:bcel:6.12.0=spotbugs org.apache.commons:commons-lang3:3.18.0=checkstyle -org.apache.commons:commons-lang3:3.19.0=spotbugs -org.apache.commons:commons-lang3:3.20.0=compileClasspath,pmd,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.apache.commons:commons-text:1.14.0=spotbugs -org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-lang3:3.20.0=compileClasspath,pmd,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath org.apache.commons:commons-text:1.3=checkstyle org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle @@ -85,8 +84,8 @@ org.apache.httpcomponents:httpclient:4.5.13=checkstyle org.apache.httpcomponents:httpclient:4.5.14=runtimeClasspath,testRuntimeClasspath org.apache.httpcomponents:httpcore:4.4.14=checkstyle org.apache.httpcomponents:httpcore:4.4.16=runtimeClasspath,testRuntimeClasspath -org.apache.logging.log4j:log4j-api:2.25.3=spotbugs -org.apache.logging.log4j:log4j-core:2.25.3=spotbugs +org.apache.logging.log4j:log4j-api:2.26.0=spotbugs +org.apache.logging.log4j:log4j-core:2.26.0=spotbugs org.apache.maven.doxia:doxia-core:1.12.0=checkstyle org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle org.apache.maven.doxia:doxia-module-xdoc:1.12.0=checkstyle @@ -118,25 +117,27 @@ org.jspecify:jspecify:1.0.0=checkstyle org.junit.jupiter:junit-jupiter-api:5.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-commons:1.14.0=testCompileClasspath,testRuntimeClasspath org.junit.platform:junit-platform-engine:1.14.0=testCompileClasspath,testRuntimeClasspath -org.junit:junit-bom:5.14.0=annotationProcessor,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:5.14.0=annotationProcessor,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath +org.junit:junit-bom:6.1.0=spotbugs org.mockito:mockito-core:5.23.0=testCompileClasspath,testRuntimeClasspath org.objenesis:objenesis:3.3=runtimeClasspath,testRuntimeClasspath org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath -org.ow2.asm:asm-analysis:9.9=spotbugs +org.ow2.asm:asm-analysis:9.10.1=spotbugs +org.ow2.asm:asm-commons:9.10.1=spotbugs org.ow2.asm:asm-commons:9.8=jacocoAnt -org.ow2.asm:asm-commons:9.9=spotbugs +org.ow2.asm:asm-tree:9.10.1=spotbugs org.ow2.asm:asm-tree:9.8=jacocoAnt -org.ow2.asm:asm-tree:9.9=spotbugs -org.ow2.asm:asm-util:9.9=spotbugs +org.ow2.asm:asm-util:9.10.1=spotbugs +org.ow2.asm:asm:9.10.1=spotbugs org.ow2.asm:asm:9.8=jacocoAnt -org.ow2.asm:asm:9.9=spotbugs org.ow2.asm:asm:9.9.1=pmd org.pcollections:pcollections:4.0.2=pmd org.projectlombok:lombok:1.18.42=annotationProcessor,compileClasspath,lombok,testAnnotationProcessor,testCompileClasspath org.reflections:reflections:0.10.2=checkstyle,runtimeClasspath,testRuntimeClasspath org.slf4j:jul-to-slf4j:1.7.36=pmd org.slf4j:slf4j-api:1.7.32=runtimeClasspath,testRuntimeClasspath -org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j +org.slf4j:slf4j-api:2.0.17=spotbugsSlf4j +org.slf4j:slf4j-api:2.0.18=spotbugs org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j org.spockframework:spock-bom:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath org.spockframework:spock-core:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath