08:55:25.569 [INFO][ApplicationImpl pooled thread 836][c.d.cover.p.a.a] Using Java version: 11.0.14 08:55:25.571 [INFO][ApplicationImpl pooled thread 836][c.d.cover.p.a.a] Detected the presence of the following Java-version-dependent Spring dependencies: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Test | Present | 5.3.22 | 08:55:25.668 [INFO][ApplicationImpl pooled thread 836][c.d.cover.p.a.a] Detected the following dependency's presence and version: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Hamcrest 1 | Not Present | | | Hamcrest 2 | Present | 2.2 | | JSR107 API and SPI (Cache) | Not Present | | | Java Servlet API | Present | | | JUnit Jupiter | Present | 5.8.2 | | JUnit | Present | 3.8.1 | | JUnit Platform Engine | Present | 1.8.2 | | JUnit Platform Launcher | Not Present | | | Mockito | Present | 4.5.1 | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Web | Present | 5.3.22 | | Spring WebMVC | Present | 5.3.22 | | Spring Security Config | Present | 5.7.3 | | Spring Test | Present | 5.3.22 | 08:55:26.093 [INFO][pool-9-thread-5][c.d.i.p.w.e] Found 13 callable methods in 1 class 08:55:26.102 [INFO][pool-9-thread-5][c.d.cover.b.b.b] 08:55:26.102 [INFO][pool-9-thread-5][c.d.cover.b.b.b] Creating tests: 08:55:26.102 [INFO][pool-9-thread-5][c.d.cover.b.b.b] --------------- 08:55:26.103 [INFO][pool-9-thread-5][c.d.cover.b.b.b] ================================================================================ = Starting analysis for class 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService' ================================================================================ 08:55:26.103 [INFO][pool-9-thread-5][c.d.cover.b.b.b] Filtering out non-testable methods... 08:55:32.397 [INFO][pool-9-thread-5][c.d.cover.b.b.b] Filtering of methods complete. Creating analysis request 08:55:32.398 [INFO][pool-9-thread-5][c.d.c.service.c] Attempting to get service client, retry 1. 08:55:32.399 [INFO][pool-9-thread-5][c.d.c.service.c] Starting monitoring server. 08:55:32.414 [INFO][pool-9-thread-5][c.d.c.service.c] Monitoring server listening on localhost/127.0.0.1:63343 08:55:32.414 [INFO][pool-9-thread-5][c.d.c.service.c] Starting analyzer server process... 08:55:32.414 [INFO][pool-9-thread-5][c.d.c.service.c] Server command-line: C:\Users\ibcol\.jdks\azul-11.0.14.1\bin\java.exe -XX:+IgnoreUnrecognizedVMOptions -Xms128m -Xmx750m -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Xmx16384m -Dide.no.platform.update=true -Dtoolbox.notification.token=wP3i9vqv0vJMrO9tYHANKdGiMrFcq98SOhkmwHGCMwQ= -Dtoolbox.notification.portFile=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.vmoptions.port -Dsplash=true -Dide.native.launcher=true -ea -javaagent:C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar -Dlogback.configurationFile=C:\Users\ibcol\AppData\Local\Temp\diffblue\config\logback-remote-service.xml -Dcom.diffblue.springIsolationJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-isolation-layer-2022.09.01.jar -Dcover.jar.path=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcom.diffblue.assertionSuggestionJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcover.main.class=com.diffblue.cover.service.analyzer.Main -jar C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar --service-lifespan 1800 --monitoring-service-port 63343 --debug-log 08:55:32.417 [INFO][pool-9-thread-5][c.d.c.service.c] Server started. Waiting up to 300 seconds for a connection to be established... 08:55:33.048 [INFO][nullmain][c.d.c.s.a.a.b] Starting new remote monitor client 08:55:34.216 [INFO][analyzer-service:main][c.d.c.s.a.a.b] Attempting to start remote server. 08:55:34.541 [INFO][analyzer-service:main][c.d.c.s.a.a.a] Server started, listening on localhost/127.0.0.1:63387 08:55:35.419 [INFO][pool-9-thread-5][c.d.c.service.c] Expect analyzer service to be listening on port 63387. 08:55:35.495 [INFO][pool-9-thread-5][c.d.c.service.c] Started analyzer service and client retrieved. 08:55:37.257 [INFO][pool-9-thread-5][c.d.cover.b.b.e] Configuration: Dummy analysis engine: false Module: foobar-webapp Classpath: C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\test-classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-libs\target\classes;C:\Users\ibcol\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\ibcol\.m2\repository\com\offbytwo\ulid\ulid\0.1.0\ulid-0.1.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.13.3\jackson-dataformat-xml-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\codehaus\woodstox\stax2-api\4.2.1\stax2-api-4.2.1.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\woodstox\woodstox-core\6.2.7\woodstox-core-6.2.7.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;C:\Users\ibcol\.m2\repository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\geo\0.7.6\geo-0.7.6.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\grumpy-core\0.2.2\grumpy-core-0.2.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;C:\Users\ibcol\.m2\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\Users\ibcol\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ibcol\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\ibcol\.m2\repository\org\hibernate\validator\hibernate-validator\6.2.4.Final\hibernate-validator-6.2.4.Final.jar;C:\Users\ibcol\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.70\bcpkix-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.70\bcprov-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcutil-jdk15on\1.70\bcutil-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-test\5.3.22\spring-test-5.3.22.jar;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-mq\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-tasks\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-cache\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-channels\target\classes;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.7.3\spring-boot-configuration-processor-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-jdbc\2.7.0\spring-session-jdbc-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-core\2.7.0\spring-session-core-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jcl\5.3.22\spring-jcl-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jdbc\5.3.22\spring-jdbc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.7.3\spring-boot-starter-data-jpa-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.7.3\spring-boot-starter-aop-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.7.3\spring-boot-starter-jdbc-2.7.3.jar;C:\Users\ibcol\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-core\5.6.10.Final\hibernate-core-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy\1.12.13\byte-buddy-1.12.13.jar;C:\Users\ibcol\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\ibcol\.m2\repository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;C:\Users\ibcol\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;C:\Users\ibcol\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;C:\Users\ibcol\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-jpa\2.7.2\spring-data-jpa-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-commons\2.7.2\spring-data-commons-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-orm\5.3.22\spring-orm-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aspects\5.3.22\spring-aspects-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-spatial\5.6.10.Final\hibernate-spatial-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;C:\Users\ibcol\.m2\repository\org\geolatte\geolatte-geom\1.8.2\geolatte-geom-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\locationtech\jts\jts-core\1.18.2\jts-core-1.18.2.jar;C:\Users\ibcol\.m2\repository\com\vladmihalcea\hibernate-types-52\2.16.3\hibernate-types-52-2.16.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.13.3\jackson-module-jaxb-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;C:\Users\ibcol\.m2\repository\org\postgresql\postgresql\42.3.6\postgresql-42.3.6.jar;C:\Users\ibcol\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-jdbc\2021.1.0\postgis-jdbc-2021.1.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-geometry\2021.1.0\postgis-geometry-2021.1.0.jar;C:\Users\ibcol\.m2\repository\org\flywaydb\flyway-core\8.5.13\flyway-core-8.5.13.jar;C:\Users\ibcol\.m2\repository\org\influxdb\influxdb-java\2.22\influxdb-java-2.22.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\retrofit\2.9.0\retrofit-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\converter-moshi\2.9.0\converter-moshi-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\moshi\moshi\1.8.0\moshi-1.8.0.jar;C:\Users\ibcol\.m2\repository\org\msgpack\msgpack-core\0.9.0\msgpack-core-0.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\logging-interceptor\4.9.3\logging-interceptor-4.9.3.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context\5.3.22\spring-context-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aop\5.3.22\spring-aop-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-beans\5.3.22\spring-beans-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-core\5.3.22\spring-core-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-expression\5.3.22\spring-expression-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter\2.7.3\spring-boot-starter-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot\2.7.3\spring-boot-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.7.3\spring-boot-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.7.3\spring-boot-starter-logging-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;C:\Users\ibcol\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.7.3\spring-boot-starter-web-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.7.3\spring-boot-starter-json-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.7.3\spring-boot-starter-tomcat-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.65\tomcat-embed-core-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.65\tomcat-embed-websocket-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-web\5.3.22\spring-web-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webmvc\5.3.22\spring-webmvc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-webflux\2.7.3\spring-boot-starter-webflux-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-reactor-netty\2.7.3\spring-boot-starter-reactor-netty-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-http\1.0.22\reactor-netty-http-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http\4.1.79.Final\netty-codec-http-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http2\4.1.79.Final\netty-codec-http2-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns\4.1.79.Final\netty-resolver-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-dns\4.1.79.Final\netty-codec-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-native-macos\4.1.79.Final\netty-resolver-dns-native-macos-4.1.79.Final-osx-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-classes-macos\4.1.79.Final\netty-resolver-dns-classes-macos-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-epoll\4.1.79.Final\netty-transport-native-epoll-4.1.79.Final-linux-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-classes-epoll\4.1.79.Final\netty-transport-classes-epoll-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-core\1.0.22\reactor-netty-core-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler-proxy\4.1.79.Final\netty-handler-proxy-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-socks\4.1.79.Final\netty-codec-socks-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webflux\5.3.22\spring-webflux-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\reactor-core\3.4.22\reactor-core-3.4.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.7.3\spring-boot-starter-validation-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.65\tomcat-embed-el-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-cache\2.7.3\spring-boot-starter-cache-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context-support\5.3.22\spring-context-support-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-redis\2.7.3\spring-boot-starter-data-redis-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-redis\2.7.2\spring-data-redis-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-keyvalue\2.7.2\spring-data-keyvalue-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-oxm\5.3.22\spring-oxm-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\lettuce\lettuce-core\6.1.9.RELEASE\lettuce-core-6.1.9.RELEASE.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-common\4.1.79.Final\netty-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler\4.1.79.Final\netty-handler-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver\4.1.79.Final\netty-resolver-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-buffer\4.1.79.Final\netty-buffer-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.79.Final\netty-transport-native-unix-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec\4.1.79.Final\netty-codec-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport\4.1.79.Final\netty-transport-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr-spring-boot-starter\5.1.6\jobrunr-spring-boot-starter-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr\5.1.6\jobrunr-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\ow2\asm\asm\9.3\asm-9.3.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot-starter\3.0.4\jasypt-spring-boot-starter-3.0.4.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot\3.0.4\jasypt-spring-boot-3.0.4.jar;C:\Users\ibcol\.m2\repository\org\jasypt\jasypt\1.9.3\jasypt-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.7.3\spring-boot-starter-thymeleaf-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf-spring5\3.0.15.RELEASE\thymeleaf-spring5-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf\3.0.15.RELEASE\thymeleaf-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-websocket\2.7.3\spring-boot-starter-websocket-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-messaging\5.3.22\spring-messaging-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-websocket\5.3.22\spring-websocket-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-springsecurity5\3.0.4.RELEASE\thymeleaf-extras-springsecurity5-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\com\google\guava\guava\31.1-jre\guava-31.1-jre.jar;C:\Users\ibcol\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\ibcol\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\ibcol\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\ibcol\.m2\repository\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;C:\Users\ibcol\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-pdf\9.1.22\flying-saucer-pdf-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\lowagie\itext\2.1.7\itext-2.1.7.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-core\9.1.22\flying-saucer-core-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\core\3.5.0\core-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\javase\3.5.0\javase-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\beust\jcommander\1.82\jcommander-1.82.jar;C:\Users\ibcol\.m2\repository\com\github\jai-imageio\jai-imageio-core\1.4.0\jai-imageio-core-1.4.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.7.3\spring-boot-starter-security-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-config\5.7.3\spring-security-config-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-web\5.7.3\spring-security-web-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.7.3\spring-boot-starter-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.3\spring-boot-actuator-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator\2.7.3\spring-boot-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\micrometer\micrometer-core\1.9.3\micrometer-core-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;C:\Users\ibcol\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-core\1.5.1\jgrapht-core-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\jheaps\jheaps\0.13\jheaps-0.13.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-io\1.5.1\jgrapht-io-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\antlr\antlr4-runtime\4.8-1\antlr4-runtime-4.8-1.jar;C:\Users\ibcol\.m2\repository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;C:\Users\ibcol\.m2\repository\org\mapstruct\mapstruct\1.5.2.Final\mapstruct-1.5.2.Final.jar;C:\Users\ibcol\.m2\repository\io\jenetics\jpx\2.3.0\jpx-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\hashids\hashids\1.0.3\hashids-1.0.3.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-ui\1.6.9\springdoc-openapi-ui-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-webmvc-core\1.6.9\springdoc-openapi-webmvc-core-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-common\1.6.9\springdoc-openapi-common-1.6.9.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-core\2.2.0\swagger-core-2.2.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.13.3\jackson-dataformat-yaml-2.13.3.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-annotations\2.2.0\swagger-annotations-2.2.0.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-models\2.2.0\swagger-models-2.2.0.jar;C:\Users\ibcol\.m2\repository\org\webjars\swagger-ui\4.11.1\swagger-ui-4.11.1.jar;C:\Users\ibcol\.m2\repository\org\webjars\webjars-locator-core\0.50\webjars-locator-core-0.50.jar;C:\Users\ibcol\.m2\repository\io\github\classgraph\classgraph\4.8.147\classgraph-4.8.147.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jms\5.3.22\spring-jms-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-tx\5.3.22\spring-tx-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core\3.18.2\camel-core-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-engine\3.18.2\camel-core-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-api\3.18.2\camel-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base-engine\3.18.2\camel-base-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base\3.18.2\camel-base-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-reifier\3.18.2\camel-core-reifier-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-processor\3.18.2\camel-core-processor-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-management-api\3.18.2\camel-management-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util\3.18.2\camel-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-languages\3.18.2\camel-core-languages-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-model\3.18.2\camel-core-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-bean\3.18.2\camel-bean-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-browse\3.18.2\camel-browse-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cluster\3.18.2\camel-cluster-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-controlbus\3.18.2\camel-controlbus-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataformat\3.18.2\camel-dataformat-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataset\3.18.2\camel-dataset-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-direct\3.18.2\camel-direct-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-directvm\3.18.2\camel-directvm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-file\3.18.2\camel-file-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-health\3.18.2\camel-health-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-language\3.18.2\camel-language-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-log\3.18.2\camel-log-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-mock\3.18.2\camel-mock-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-ref\3.18.2\camel-ref-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rest\3.18.2\camel-rest-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-tooling-model\3.18.2\camel-tooling-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-saga\3.18.2\camel-saga-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-scheduler\3.18.2\camel-scheduler-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-seda\3.18.2\camel-seda-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-stub\3.18.2\camel-stub-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-timer\3.18.2\camel-timer-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-validator\3.18.2\camel-validator-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-vm\3.18.2\camel-vm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xpath\3.18.2\camel-xpath-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xslt\3.18.2\camel-xslt-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb\3.18.2\camel-xml-jaxb-3.18.2.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-core\2.3.0\jaxb-core-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxp\3.18.2\camel-xml-jaxp-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-io-util\3.18.2\camel-xml-io-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-jms\3.18.2\camel-jms-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-support\3.18.2\camel-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring\3.18.2\camel-spring-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\geronimo\specs\geronimo-jms_2.0_spec\1.0-alpha-2\geronimo-jms_2.0_spec-1.0-alpha-2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rabbitmq\3.18.2\camel-rabbitmq-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-pool2\2.11.1\commons-pool2-2.11.1.jar;C:\Users\ibcol\.m2\repository\com\rabbitmq\amqp-client\5.14.2\amqp-client-5.14.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-amqp\2.7.3\spring-boot-starter-amqp-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-rabbit\2.4.6\spring-rabbit-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-amqp\2.4.6\spring-amqp-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\retry\spring-retry\1.3.3\spring-retry-1.3.3.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot-starter\3.18.2\camel-spring-boot-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot\3.18.2\camel-spring-boot-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-main\3.18.2\camel-spring-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-main\3.18.2\camel-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util-json\3.18.2\camel-util-json-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb-dsl\3.18.2\camel-xml-jaxb-dsl-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dsl-support\3.18.2\camel-dsl-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-xml\3.18.2\camel-spring-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-xml\3.18.2\camel-core-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cloud\3.18.2\camel-cloud-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-core-starter\3.18.2\camel-core-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-bean-starter\3.18.2\camel-bean-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-browse-starter\3.18.2\camel-browse-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-controlbus-starter\3.18.2\camel-controlbus-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataformat-starter\3.18.2\camel-dataformat-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataset-starter\3.18.2\camel-dataset-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-direct-starter\3.18.2\camel-direct-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-directvm-starter\3.18.2\camel-directvm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-file-starter\3.18.2\camel-file-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-language-starter\3.18.2\camel-language-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-log-starter\3.18.2\camel-log-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-mock-starter\3.18.2\camel-mock-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-ref-starter\3.18.2\camel-ref-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-rest-starter\3.18.2\camel-rest-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-saga-starter\3.18.2\camel-saga-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-scheduler-starter\3.18.2\camel-scheduler-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-seda-starter\3.18.2\camel-seda-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-stub-starter\3.18.2\camel-stub-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-timer-starter\3.18.2\camel-timer-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-validator-starter\3.18.2\camel-validator-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-vm-starter\3.18.2\camel-vm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xpath-starter\3.18.2\camel-xpath-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xslt-starter\3.18.2\camel-xslt-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xml-jaxp-starter\3.18.2\camel-xml-jaxp-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\yaml\snakeyaml\1.32\snakeyaml-1.32.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-reactive-streams-starter\3.18.2\camel-reactive-streams-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-reactive-streams\3.18.2\camel-reactive-streams-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;C:\Users\ibcol\.m2\repository\com\h2database\h2\1.4.197\h2-1.4.197.jar;C:\Users\ibcol\.m2\repository\com\univocity\univocity-parsers\2.9.1\univocity-parsers-2.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;C:\Users\ibcol\.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\ibcol\.m2\repository\org\ddogleg\ddogleg\0.21\ddogleg-0.21.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-core\0.41\ejml-core-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fdense\0.41\ejml-fdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-ddense\0.41\ejml-ddense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-simple\0.41\ejml-simple-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-cdense\0.41\ejml-cdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-zdense\0.41\ejml-zdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fsparse\0.41\ejml-fsparse-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-dsparse\0.41\ejml-dsparse-0.41.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.13.3\jackson-datatype-joda-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-csv\2.13.3\jackson-dataformat-csv-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;C:\Users\ibcol\.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.7.3\spring-boot-starter-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test\2.7.3\spring-boot-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.7.3\spring-boot-test-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\com\jayway\jsonpath\json-path\2.7.0\json-path-2.7.0.jar;C:\Users\ibcol\.m2\repository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\org\assertj\assertj-core\3.22.0\assertj-core-3.22.0.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-core\4.5.1\mockito-core-4.5.1.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy-agent\1.12.13\byte-buddy-agent-1.12.13.jar;C:\Users\ibcol\.m2\repository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-junit-jupiter\4.5.1\mockito-junit-jupiter-4.5.1.jar;C:\Users\ibcol\.m2\repository\org\skyscreamer\jsonassert\1.5.1\jsonassert-1.5.1.jar;C:\Users\ibcol\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\ibcol\.m2\repository\org\xmlunit\xmlunit-core\2.9.0\xmlunit-core-2.9.0.jar;C:\Users\ibcol\.m2\repository\joda-time\joda-time\2.10.14\joda-time-2.10.14.jar;C:\Users\ibcol\.m2\repository\de\micromata\jak\JavaAPIforKml\2.2.1\JavaAPIforKml-2.2.1.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2\jaxb-impl-2.2.jar;C:\Users\ibcol\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\ibcol\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2\jaxb-xjc-2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi\5.2.2\poi-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml\5.2.2\poi-ooxml-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml-lite\5.2.2\poi-ooxml-lite-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\xmlbeans\xmlbeans\5.0.3\xmlbeans-5.0.3.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-compress\1.21\commons-compress-1.21.jar;C:\Users\ibcol\.m2\repository\com\github\virtuald\curvesapi\1.07\curvesapi-1.07.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\testcontainers\1.16.3\testcontainers-1.16.3.jar;C:\Users\ibcol\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest-core\2.2\hamcrest-core-2.2.jar;C:\Users\ibcol\.m2\repository\org\rnorth\duct-tape\duct-tape\1.0.8\duct-tape-1.0.8.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\annotations\17.0.0\annotations-17.0.0.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-api\3.2.12\docker-java-api-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport-zerodep\3.2.12\docker-java-transport-zerodep-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport\3.2.12\docker-java-transport-3.2.12.jar;C:\Users\ibcol\.m2\repository\net\java\dev\jna\jna\5.8.0\jna-5.8.0.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\postgresql\1.16.3\postgresql-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\jdbc\1.16.3\jdbc-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\database-commons\1.16.3\database-commons-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\influxdb\1.17.3\influxdb-1.17.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\junit-jupiter\1.16.3\junit-jupiter-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;C:\Users\ibcol\.m2\repository\io\xlate\staedi\1.19.0\staedi-1.19.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-test\5.1.6.RELEASE\spring-security-test-5.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-core\5.7.3\spring-security-core-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-crypto\5.7.3\spring-security-crypto-5.7.3.jar;C:\Users\ibcol\.m2\repository\com\openpojo\openpojo\0.9.1\openpojo-0.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-text\1.9\commons-text-1.9.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar Index: C:\Users\ibcol\.diffblue\index\foobar-services-c22b7d605935b60729b0ced5056a4582af15cd318e5793d8aae56725440673f9 Iterations: 1000 StopOnFirstSuccess: false MockingPrefixes: [] MockStaticClassNames: [] MockInputObjects: true SpringIntegrationTests: true PerMethodSoftTimeout: PT20S PerMethodHardTimeout: PT30M SpringStartupTimeout: PT10M ReplayTrace: null ActiveSpringProfiles: [] ConfigurationClasses: [] CoverAllEnums: false DisableSecurityPolicy: false 08:55:38.732 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addItemToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:55:57.791 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:55:58.029 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:55:58.031 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:55:58.055 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:55:58.061 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:55:58.062 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass6 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:55:58.084 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:55:58.089 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:55:58.090 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass7 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:55:59.629 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 1.989s, 62.2ms/it 08:55:59.840 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:55:59.846 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:55:59.848 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:55:59.849 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:55:59.850 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:55:59.851 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addItemToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:00.146 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:00.152 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:00.152 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass35 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:00.170 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:00.175 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:00.176 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass36 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:00.195 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:00.198 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:00.198 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass37 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:00.533 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.416s, 13.0ms/it 08:56:00.723 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:00.726 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:00.726 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:00.726 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass34 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:00.727 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:00.728 [INFO][analyzer-service:TimedExecutor-8][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addItemToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:03.635 [INFO][analyzer-service:TimedExecutor-8][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:04.035 [INFO][analyzer-service:TimedExecutor-8][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#addItemToLocation(Authentication, String, String, ItemType)} */ @Test public void testAddItemToLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "42"; String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationApiService.addItemToLocation(authentication, locationId, itemId, type); } } 08:56:04.036 [INFO][analyzer-service:TimedExecutor-8][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:04.046 [INFO][analyzer-service:TimedExecutor-8][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:04.176 [INFO][analyzer-service:TimedExecutor-8][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#addItemToLocation(Authentication, String, String, ItemType)} */ @Test public void testAddItemToLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "foo"; String itemId = "foo"; ItemType type = ItemType.ASSET; // Act locationApiService.addItemToLocation(authentication, locationId, itemId, type); } } 08:56:04.176 [INFO][analyzer-service:TimedExecutor-8][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:04.177 [INFO][analyzer-service:TimedExecutor-8][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 1.019s, 509.5ms/it 08:56:04.178 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:04.178 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:04.182 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addItemToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:09.221 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.addItemToLocation(Authentication, String, String, ItemType) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:09.222 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addItemToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addItemToLocation 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] Partial tests created: 1 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] Reasons for partial tests: 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] R026: Failed to create Spring context 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] Attempt to initialize test context failed with 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] org.mockito.exceptions.base.MockitoException: 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] Cannot mock/spy class java.lang.Boolean 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] Mockito cannot mock/spy because : 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] - final class 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] when running class: 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] public class DiffblueFakeClass4 { 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] @org.junit.Test // if JUnit 4 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] public void testSpringContextLoads() {} 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] } 08:56:09.223 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/13] See https://diff.blue/R026 to resolve this issue. 08:56:09.225 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addSensorToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:09.475 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:09.477 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:09.477 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass69 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:09.487 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:09.490 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:09.490 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass70 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:09.499 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:09.501 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:09.501 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass71 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:09.801 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.352s, 11.0ms/it 08:56:09.980 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:09.982 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:09.982 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:09.982 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass68 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:09.983 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:09.983 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addSensorToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:10.213 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:10.216 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:10.216 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass99 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:10.226 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:10.228 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:10.228 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass100 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:10.236 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:10.239 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:10.239 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass101 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:10.446 [INFO][analyzer-service:TimedExecutor-15][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.249s, 7.8ms/it 08:56:10.617 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:10.618 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:10.618 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:10.619 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass98 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:10.619 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:10.620 [INFO][analyzer-service:TimedExecutor-17][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addSensorToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:11.207 [INFO][analyzer-service:TimedExecutor-17][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:11.473 [INFO][analyzer-service:TimedExecutor-17][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#addSensorToLocation(Authentication, String, String)} */ @Test public void testAddSensorToLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "42"; String sensorId = "42"; // Act locationApiService.addSensorToLocation(authentication, locationId, sensorId); } } 08:56:11.474 [INFO][analyzer-service:TimedExecutor-17][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:11.482 [INFO][analyzer-service:TimedExecutor-17][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:11.575 [INFO][analyzer-service:TimedExecutor-17][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#addSensorToLocation(Authentication, String, String)} */ @Test public void testAddSensorToLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "foo"; String sensorId = "foo"; // Act locationApiService.addSensorToLocation(authentication, locationId, sensorId); } } 08:56:11.576 [INFO][analyzer-service:TimedExecutor-17][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:11.576 [INFO][analyzer-service:TimedExecutor-17][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.378s, 189.0ms/it 08:56:11.577 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:11.578 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:11.578 [INFO][analyzer-service:TimedExecutor-20][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addSensorToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:11.832 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.addSensorToLocation(Authentication, String, String) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:11.836 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addSensorToLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass68 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.addSensorToLocation 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] Partial tests created: 1 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] Reasons for partial tests: 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] R026: Failed to create Spring context 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] Attempt to initialize test context failed with 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] org.mockito.exceptions.base.MockitoException: 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] Cannot mock/spy class java.lang.Boolean 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] Mockito cannot mock/spy because : 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] - final class 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] when running class: 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] public class DiffblueFakeClass68 { 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] @org.junit.Test // if JUnit 4 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] public void testSpringContextLoads() {} 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] } 08:56:11.837 [INFO][pool-9-thread-5][c.d.i.p.w.e] [2/13] See https://diff.blue/R026 to resolve this issue. 08:56:11.838 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.createLocation:(Lorg/springframework/security/core/Authentication;Lus/mycompany/itv/gateway/modules/locations/dto/LocationCreationRequest;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:12.420 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:12.433 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:12.433 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass133 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:12.445 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:12.460 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:12.460 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass134 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:12.471 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:12.482 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:12.483 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass135 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:14.490 [INFO][analyzer-service:TimedExecutor-22][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 334/333 its, 2.085s, 6.2ms/it 08:56:14.844 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:14.856 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:14.856 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:14.856 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass132 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:14.857 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:14.858 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.createLocation:(Lorg/springframework/security/core/Authentication;Lus/mycompany/itv/gateway/modules/locations/dto/LocationCreationRequest;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:15.092 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:15.102 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:15.102 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass404 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:15.111 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:15.119 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:15.119 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass405 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:15.126 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:15.134 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:15.134 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass406 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:16.883 [INFO][analyzer-service:TimedExecutor-24][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 334/333 its, 1.804s, 5.4ms/it 08:56:17.189 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:17.197 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:17.198 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:17.198 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass403 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:17.198 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:17.199 [INFO][analyzer-service:TimedExecutor-26][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.createLocation:(Lorg/springframework/security/core/Authentication;Lus/mycompany/itv/gateway/modules/locations/dto/LocationCreationRequest;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:17.687 [INFO][analyzer-service:TimedExecutor-26][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:17.842 [INFO][analyzer-service:TimedExecutor-26][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.dto.LocationCreationRequest; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#createLocation(Authentication, LocationCreationRequest)} */ @Test public void testCreateLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); LocationCreationRequest locationCreationRequest = new LocationCreationRequest(); // Act locationApiService.createLocation(authentication, locationCreationRequest); } } 08:56:17.842 [INFO][analyzer-service:TimedExecutor-26][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:17.850 [INFO][analyzer-service:TimedExecutor-26][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:17.921 [INFO][analyzer-service:TimedExecutor-26][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.dto.LocationCreationRequest; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#createLocation(Authentication, LocationCreationRequest)} */ @Test public void testCreateLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); LocationCreationRequest locationCreationRequest = new LocationCreationRequest(); // Act locationApiService.createLocation(authentication, locationCreationRequest); } } 08:56:17.922 [INFO][analyzer-service:TimedExecutor-26][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:17.922 [INFO][analyzer-service:TimedExecutor-26][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.241s, 120.5ms/it 08:56:17.923 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:17.924 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:17.925 [INFO][analyzer-service:TimedExecutor-29][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.createLocation:(Lorg/springframework/security/core/Authentication;Lus/mycompany/itv/gateway/modules/locations/dto/LocationCreationRequest;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:18.190 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.createLocation(Authentication, LocationCreationRequest) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:18.190 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.createLocation:(Lorg/springframework/security/core/Authentication;Lus/mycompany/itv/gateway/modules/locations/dto/LocationCreationRequest;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass132 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.createLocation 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] Partial tests created: 1 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] Reasons for partial tests: 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] R026: Failed to create Spring context 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] Attempt to initialize test context failed with 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] org.mockito.exceptions.base.MockitoException: 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] Cannot mock/spy class java.lang.Boolean 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] Mockito cannot mock/spy because : 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] - final class 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] when running class: 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] public class DiffblueFakeClass132 { 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] @org.junit.Test // if JUnit 4 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] public void testSpringContextLoads() {} 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] } 08:56:18.192 [INFO][pool-9-thread-5][c.d.i.p.w.e] [3/13] See https://diff.blue/R026 to resolve this issue. 08:56:18.194 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.deleteLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:18.400 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:18.401 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:18.402 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass679 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:18.408 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:18.411 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:18.411 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass680 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:18.418 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:18.420 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:18.421 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass681 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:18.604 [INFO][analyzer-service:TimedExecutor-31][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.216s, 6.8ms/it 08:56:18.781 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:18.783 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:18.783 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:18.783 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass678 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:18.784 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:18.784 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.deleteLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:18.987 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:18.991 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:18.991 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass709 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:19.000 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:19.003 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:19.003 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass710 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:19.012 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:19.014 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:19.014 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass711 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:19.191 [INFO][analyzer-service:TimedExecutor-33][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.214s, 6.7ms/it 08:56:19.364 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:19.367 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:19.367 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:19.367 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass708 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:19.368 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:19.368 [INFO][analyzer-service:TimedExecutor-35][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.deleteLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:19.897 [INFO][analyzer-service:TimedExecutor-35][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:20.047 [INFO][analyzer-service:TimedExecutor-35][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#deleteLocation(Authentication, String)} */ @Test public void testDeleteLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "42"; // Act locationApiService.deleteLocation(authentication, locationId); } } 08:56:20.047 [INFO][analyzer-service:TimedExecutor-35][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:20.054 [INFO][analyzer-service:TimedExecutor-35][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:20.101 [INFO][analyzer-service:TimedExecutor-35][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#deleteLocation(Authentication, String)} */ @Test public void testDeleteLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "foo"; // Act locationApiService.deleteLocation(authentication, locationId); } } 08:56:20.102 [INFO][analyzer-service:TimedExecutor-35][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:20.102 [INFO][analyzer-service:TimedExecutor-35][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.212s, 106.0ms/it 08:56:20.103 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:20.103 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:20.104 [INFO][analyzer-service:TimedExecutor-38][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.deleteLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:20.352 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.deleteLocation(Authentication, String) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:20.353 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.deleteLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass678 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.deleteLocation 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] Partial tests created: 1 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] Reasons for partial tests: 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] R026: Failed to create Spring context 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] Attempt to initialize test context failed with 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] org.mockito.exceptions.base.MockitoException: 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] Cannot mock/spy class java.lang.Boolean 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] Mockito cannot mock/spy because : 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] - final class 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:20.353 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] when running class: 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] public class DiffblueFakeClass678 { 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] @org.junit.Test // if JUnit 4 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] public void testSpringContextLoads() {} 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] } 08:56:20.354 [INFO][pool-9-thread-5][c.d.i.p.w.e] [4/13] See https://diff.blue/R026 to resolve this issue. 08:56:20.356 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:20.602 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:20.604 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:20.604 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass743 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:20.612 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:20.613 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:20.613 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass744 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:20.620 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:20.621 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:20.621 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass745 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:20.884 [INFO][analyzer-service:TimedExecutor-40][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.294s, 9.2ms/it 08:56:21.076 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:21.079 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:21.079 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:21.080 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass742 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:21.080 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:21.080 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:21.309 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:21.312 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:21.312 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass773 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:21.319 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:21.321 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:21.321 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass774 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:21.327 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:21.329 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:21.329 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass775 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:21.592 [INFO][analyzer-service:TimedExecutor-42][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.304s, 9.5ms/it 08:56:21.799 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:21.800 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:21.801 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:21.801 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass772 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:21.801 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:21.815 [INFO][analyzer-service:TimedExecutor-44][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:22.408 [INFO][analyzer-service:TimedExecutor-44][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:22.571 [INFO][analyzer-service:TimedExecutor-44][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#getLocation(Authentication, String)} */ @Test public void testGetLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "42"; // Act locationApiService.getLocation(authentication, locationId); } } 08:56:22.572 [INFO][analyzer-service:TimedExecutor-44][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:22.578 [INFO][analyzer-service:TimedExecutor-44][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:22.633 [INFO][analyzer-service:TimedExecutor-44][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#getLocation(Authentication, String)} */ @Test public void testGetLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "foo"; // Act locationApiService.getLocation(authentication, locationId); } } 08:56:22.633 [INFO][analyzer-service:TimedExecutor-44][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:22.634 [INFO][analyzer-service:TimedExecutor-44][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.232s, 116.0ms/it 08:56:22.634 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:22.635 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:22.635 [INFO][analyzer-service:TimedExecutor-47][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:22.864 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.getLocation(Authentication, String) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:22.864 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass742 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocation 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] Partial tests created: 1 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] Reasons for partial tests: 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] R026: Failed to create Spring context 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] Attempt to initialize test context failed with 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] org.mockito.exceptions.base.MockitoException: 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] Cannot mock/spy class java.lang.Boolean 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] Mockito cannot mock/spy because : 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] - final class 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:22.865 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] when running class: 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] public class DiffblueFakeClass742 { 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] @org.junit.Test // if JUnit 4 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] public void testSpringContextLoads() {} 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] } 08:56:22.866 [INFO][pool-9-thread-5][c.d.i.p.w.e] [5/13] See https://diff.blue/R026 to resolve this issue. 08:56:22.867 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationEvents:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:23.223 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:23.229 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:23.229 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass807 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:23.239 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:23.242 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:23.243 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass808 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:23.251 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:23.254 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:23.254 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass809 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:23.748 [INFO][analyzer-service:TimedExecutor-49][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 79/333 its, 0.547s, 6.9ms/it 08:56:23.937 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:23.940 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:23.940 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:23.941 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass806 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:23.941 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:23.941 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationEvents:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:24.144 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:24.146 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:24.147 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass879 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:24.153 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:24.155 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:24.156 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass880 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:24.163 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:24.166 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:24.166 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass881 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:24.616 [INFO][analyzer-service:TimedExecutor-51][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 79/333 its, 0.483s, 6.1ms/it 08:56:24.804 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:24.808 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:24.808 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:24.808 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass878 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:24.808 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:24.809 [INFO][analyzer-service:TimedExecutor-53][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationEvents:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:25.253 [INFO][analyzer-service:TimedExecutor-53][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:25.398 [INFO][analyzer-service:TimedExecutor-53][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import javax.servlet.http.HttpServletRequest; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#getLocationEvents(Authentication, HttpServletRequest, String, Integer, Integer, Boolean, String, String, String)} */ @Test public void testGetLocationEvents() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); MockHttpServletRequest request = new MockHttpServletRequest(); String locationId = "42"; int start = 1; int length = 3; boolean enriched = true; String searchParam = "Search Param"; String sortColumn = "Sort Column"; String sortDirection = "Sort Direction"; // Act locationApiService.getLocationEvents(authentication, request, locationId, start, length, enriched, searchParam, sortColumn, sortDirection); } } 08:56:25.398 [INFO][analyzer-service:TimedExecutor-53][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:25.402 [INFO][analyzer-service:TimedExecutor-53][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:25.470 [INFO][analyzer-service:TimedExecutor-53][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import javax.servlet.http.HttpServletRequest; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#getLocationEvents(Authentication, HttpServletRequest, String, Integer, Integer, Boolean, String, String, String)} */ @Test public void testGetLocationEvents() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); MockHttpServletRequest request = new MockHttpServletRequest(); String locationId = "foo"; int start = 1; int length = 1; boolean enriched = true; String searchParam = "foo"; String sortColumn = "foo"; String sortDirection = "foo"; // Act locationApiService.getLocationEvents(authentication, request, locationId, start, length, enriched, searchParam, sortColumn, sortDirection); } } 08:56:25.471 [INFO][analyzer-service:TimedExecutor-53][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:25.472 [INFO][analyzer-service:TimedExecutor-53][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.225s, 112.5ms/it 08:56:25.473 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:25.474 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:25.475 [INFO][analyzer-service:TimedExecutor-56][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationEvents:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:25.696 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.getLocationEvents(Authentication, HttpServletRequest, String, Integer, Integer, Boolean, String, String, String) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:25.696 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationEvents:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass806 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationEvents 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] Partial tests created: 1 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] Reasons for partial tests: 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] R026: Failed to create Spring context 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] Attempt to initialize test context failed with 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] org.mockito.exceptions.base.MockitoException: 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] Cannot mock/spy class java.lang.Boolean 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] Mockito cannot mock/spy because : 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] - final class 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] when running class: 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] public class DiffblueFakeClass806 { 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] @org.junit.Test // if JUnit 4 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] public void testSpringContextLoads() {} 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] } 08:56:25.697 [INFO][pool-9-thread-5][c.d.i.p.w.e] [6/13] See https://diff.blue/R026 to resolve this issue. 08:56:25.699 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationItems:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationItemStatus;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:25.911 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:25.913 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:25.913 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass955 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:25.920 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:25.924 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:25.924 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass956 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:25.931 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:25.933 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:25.933 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass957 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:26.345 [INFO][analyzer-service:TimedExecutor-58][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 80/333 its, 0.447s, 5.6ms/it 08:56:26.552 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:26.555 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:26.555 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:26.556 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass954 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:26.557 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:26.559 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationItems:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationItemStatus;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:26.768 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:26.773 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:26.773 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1028 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:26.782 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:26.784 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:26.784 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1029 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:26.791 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:26.793 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:26.793 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1030 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:27.191 [INFO][analyzer-service:TimedExecutor-60][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 80/333 its, 0.435s, 5.4ms/it 08:56:27.370 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:27.373 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:27.373 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:27.373 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1027 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:27.373 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:27.374 [INFO][analyzer-service:TimedExecutor-62][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationItems:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationItemStatus;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:27.818 [INFO][analyzer-service:TimedExecutor-62][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:27.950 [INFO][analyzer-service:TimedExecutor-62][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import javax.servlet.http.HttpServletRequest; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#getLocationItems(Authentication, HttpServletRequest, String, ItemType, Boolean, LocationItemStatus, Integer, Integer, String, String, String)} */ @Test public void testGetLocationItems() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); MockHttpServletRequest request = new MockHttpServletRequest(); String locationId = "42"; ItemType type = ItemType.ASSET; boolean enriched = true; LocationItemStatus status = LocationItemStatus.ACTIVE; int start = 1; int length = 3; String searchParam = "Search Param"; String sortColumn = "Sort Column"; String sortDirection = "Sort Direction"; // Act locationApiService.getLocationItems(authentication, request, locationId, type, enriched, status, start, length, searchParam, sortColumn, sortDirection); } } 08:56:27.951 [INFO][analyzer-service:TimedExecutor-62][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:27.955 [INFO][analyzer-service:TimedExecutor-62][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:28.001 [INFO][analyzer-service:TimedExecutor-62][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import javax.servlet.http.HttpServletRequest; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#getLocationItems(Authentication, HttpServletRequest, String, ItemType, Boolean, LocationItemStatus, Integer, Integer, String, String, String)} */ @Test public void testGetLocationItems() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); MockHttpServletRequest request = new MockHttpServletRequest(); String locationId = "foo"; ItemType type = ItemType.ASSET; boolean enriched = true; LocationItemStatus status = LocationItemStatus.ACTIVE; int start = 1; int length = 1; String searchParam = "foo"; String sortColumn = "foo"; String sortDirection = "foo"; // Act locationApiService.getLocationItems(authentication, request, locationId, type, enriched, status, start, length, searchParam, sortColumn, sortDirection); } } 08:56:28.001 [INFO][analyzer-service:TimedExecutor-62][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:28.002 [INFO][analyzer-service:TimedExecutor-62][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.188s, 94.0ms/it 08:56:28.002 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:28.002 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:28.003 [INFO][analyzer-service:TimedExecutor-65][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationItems:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationItemStatus;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:28.216 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.getLocationItems(Authentication, HttpServletRequest, String, ItemType, Boolean, LocationItemStatus, Integer, Integer, String, String, String) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:28.218 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationItems:(Lorg/springframework/security/core/Authentication;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationItemStatus;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass954 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocationItems 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] Partial tests created: 1 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] Reasons for partial tests: 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] R026: Failed to create Spring context 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] Attempt to initialize test context failed with 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:28.218 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] org.mockito.exceptions.base.MockitoException: 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] Cannot mock/spy class java.lang.Boolean 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] Mockito cannot mock/spy because : 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] - final class 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] when running class: 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] public class DiffblueFakeClass954 { 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] @org.junit.Test // if JUnit 4 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] public void testSpringContextLoads() {} 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] } 08:56:28.219 [INFO][pool-9-thread-5][c.d.i.p.w.e] [7/13] See https://diff.blue/R026 to resolve this issue. 08:56:28.220 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocations:(Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:28.428 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:28.429 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:28.429 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1105 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:28.441 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:28.444 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:28.444 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1106 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:28.451 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:28.452 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:28.453 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1107 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:28.715 [INFO][analyzer-service:TimedExecutor-67][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 49/333 its, 0.301s, 6.1ms/it 08:56:28.896 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:28.897 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:28.897 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:28.897 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1104 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:28.897 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:28.898 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocations:(Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:29.102 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:29.103 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:29.103 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1152 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:29.110 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:29.111 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:29.111 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1153 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:29.116 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:29.118 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:29.118 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1154 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:29.386 [INFO][analyzer-service:TimedExecutor-69][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 49/333 its, 0.294s, 6.0ms/it 08:56:29.564 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:29.565 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:29.566 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:29.566 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1151 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:29.566 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:29.566 [INFO][analyzer-service:TimedExecutor-71][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocations:(Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:30.003 [INFO][analyzer-service:TimedExecutor-71][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:30.134 [INFO][analyzer-service:TimedExecutor-71][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#getLocations(String, Boolean, Integer, Integer, String, String, String, Boolean, Double, Double, Double, Double, Double, Double, Double, Integer, Boolean, String)} */ @Test public void testGetLocations() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); String unitFilter = "Unit Filter"; boolean unitHierarchyFlag = true; int page = 1; int count = 3; String sensorId = "42"; String searchText = "Search Text"; String parentLocationId = "42"; boolean skipSubLocations = true; double latitude = 10.0d; double longitude = 10.0d; double radius = 10.0d; double ulLat = 10.0d; double ulLng = 10.0d; double lrLat = 10.0d; double lrLng = 10.0d; int upperMapLevel = 1; boolean enriched = true; String locationId = "42"; // Act locationApiService.getLocations(unitFilter, unitHierarchyFlag, page, count, sensorId, searchText, parentLocationId, skipSubLocations, latitude, longitude, radius, ulLat, ulLng, lrLat, lrLng, upperMapLevel, enriched, locationId); } } 08:56:30.135 [INFO][analyzer-service:TimedExecutor-71][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:30.140 [INFO][analyzer-service:TimedExecutor-71][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:30.187 [INFO][analyzer-service:TimedExecutor-71][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#getLocations(String, Boolean, Integer, Integer, String, String, String, Boolean, Double, Double, Double, Double, Double, Double, Double, Integer, Boolean, String)} */ @Test public void testGetLocations() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); String unitFilter = "foo"; boolean unitHierarchyFlag = true; int page = 1; int count = 1; String sensorId = "foo"; String searchText = "foo"; String parentLocationId = "foo"; boolean skipSubLocations = true; double latitude = 10.0d; double longitude = 10.0d; double radius = 10.0d; double ulLat = 10.0d; double ulLng = 10.0d; double lrLat = 10.0d; double lrLng = 10.0d; int upperMapLevel = 1; boolean enriched = true; String locationId = "foo"; // Act locationApiService.getLocations(unitFilter, unitHierarchyFlag, page, count, sensorId, searchText, parentLocationId, skipSubLocations, latitude, longitude, radius, ulLat, ulLng, lrLat, lrLng, upperMapLevel, enriched, locationId); } } 08:56:30.187 [INFO][analyzer-service:TimedExecutor-71][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:30.188 [INFO][analyzer-service:TimedExecutor-71][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.192s, 96.0ms/it 08:56:30.188 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:30.188 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:30.189 [INFO][analyzer-service:TimedExecutor-74][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocations:(Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:30.407 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.getLocations(String, Boolean, Integer, Integer, String, String, String, Boolean, Double, Double, Double, Double, Double, Double, Double, Integer, Boolean, String) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:30.408 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocations:(Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1104 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.getLocations 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] Partial tests created: 1 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] Reasons for partial tests: 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] R026: Failed to create Spring context 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] Attempt to initialize test context failed with 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] org.mockito.exceptions.base.MockitoException: 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] Cannot mock/spy class java.lang.Boolean 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] Mockito cannot mock/spy because : 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] - final class 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] when running class: 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] public class DiffblueFakeClass1104 { 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] @org.junit.Test // if JUnit 4 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] public void testSpringContextLoads() {} 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] } 08:56:30.409 [INFO][pool-9-thread-5][c.d.i.p.w.e] [8/13] See https://diff.blue/R026 to resolve this issue. 08:56:30.411 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeItemFromLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:30.639 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:30.642 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:30.642 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1203 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:30.649 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:30.651 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:30.651 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1204 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:30.658 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:30.659 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:30.660 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1205 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:30.843 [INFO][analyzer-service:TimedExecutor-76][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.225s, 7.0ms/it 08:56:31.054 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:31.058 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:31.058 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:31.058 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1202 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:31.058 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:31.059 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeItemFromLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:31.260 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:31.262 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:31.262 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1233 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:31.267 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:31.269 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:31.269 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1234 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:31.278 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:31.280 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:31.280 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1235 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:31.453 [INFO][analyzer-service:TimedExecutor-78][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.203s, 6.3ms/it 08:56:31.629 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:31.630 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:31.631 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:31.631 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1232 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:31.631 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:31.631 [INFO][analyzer-service:TimedExecutor-80][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeItemFromLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:32.079 [INFO][analyzer-service:TimedExecutor-80][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:32.204 [INFO][analyzer-service:TimedExecutor-80][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#removeItemFromLocation(Authentication, String, String, ItemType)} */ @Test public void testRemoveItemFromLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "42"; String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationApiService.removeItemFromLocation(authentication, locationId, itemId, type); } } 08:56:32.205 [INFO][analyzer-service:TimedExecutor-80][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:32.209 [INFO][analyzer-service:TimedExecutor-80][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:32.264 [INFO][analyzer-service:TimedExecutor-80][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#removeItemFromLocation(Authentication, String, String, ItemType)} */ @Test public void testRemoveItemFromLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "foo"; String itemId = "foo"; ItemType type = ItemType.ASSET; // Act locationApiService.removeItemFromLocation(authentication, locationId, itemId, type); } } 08:56:32.265 [INFO][analyzer-service:TimedExecutor-80][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:32.265 [INFO][analyzer-service:TimedExecutor-80][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.192s, 96.0ms/it 08:56:32.266 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:32.266 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:32.266 [INFO][analyzer-service:TimedExecutor-83][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeItemFromLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:32.491 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.removeItemFromLocation(Authentication, String, String, ItemType) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:32.491 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeItemFromLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1202 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeItemFromLocation 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] Partial tests created: 1 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] Reasons for partial tests: 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] R026: Failed to create Spring context 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] Attempt to initialize test context failed with 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] org.mockito.exceptions.base.MockitoException: 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] Cannot mock/spy class java.lang.Boolean 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] Mockito cannot mock/spy because : 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] - final class 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] when running class: 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] public class DiffblueFakeClass1202 { 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] @org.junit.Test // if JUnit 4 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] public void testSpringContextLoads() {} 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] } 08:56:32.492 [INFO][pool-9-thread-5][c.d.i.p.w.e] [9/13] See https://diff.blue/R026 to resolve this issue. 08:56:32.494 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeSensorFromNode:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:32.699 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:32.700 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:32.700 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1267 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:32.707 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:32.709 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:32.709 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1268 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:32.715 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:32.716 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:32.716 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1269 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:32.882 [INFO][analyzer-service:TimedExecutor-85][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.193s, 6.0ms/it 08:56:33.057 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:33.058 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:33.058 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:33.058 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1266 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:33.059 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:33.059 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeSensorFromNode:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:33.261 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:33.263 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:33.263 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1297 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:33.269 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:33.270 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:33.270 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1298 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:33.276 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:33.278 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:33.278 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1299 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:33.434 [INFO][analyzer-service:TimedExecutor-87][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 32/333 its, 0.184s, 5.8ms/it 08:56:33.607 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:33.608 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:33.608 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:33.609 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1296 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:33.609 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:33.609 [INFO][analyzer-service:TimedExecutor-89][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeSensorFromNode:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:34.035 [INFO][analyzer-service:TimedExecutor-89][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:34.164 [INFO][analyzer-service:TimedExecutor-89][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#removeSensorFromNode(Authentication, String, String)} */ @Test public void testRemoveSensorFromNode() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "42"; String sensorId = "42"; // Act locationApiService.removeSensorFromNode(authentication, locationId, sensorId); } } 08:56:34.164 [INFO][analyzer-service:TimedExecutor-89][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:34.168 [INFO][analyzer-service:TimedExecutor-89][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:34.213 [INFO][analyzer-service:TimedExecutor-89][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#removeSensorFromNode(Authentication, String, String)} */ @Test public void testRemoveSensorFromNode() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "foo"; String sensorId = "foo"; // Act locationApiService.removeSensorFromNode(authentication, locationId, sensorId); } } 08:56:34.213 [INFO][analyzer-service:TimedExecutor-89][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:34.213 [INFO][analyzer-service:TimedExecutor-89][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.181s, 90.5ms/it 08:56:34.214 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:34.214 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:34.214 [INFO][analyzer-service:TimedExecutor-92][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeSensorFromNode:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:34.409 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.removeSensorFromNode(Authentication, String, String) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:34.410 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeSensorFromNode:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1266 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.removeSensorFromNode 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] Partial tests created: 1 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] Reasons for partial tests: 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] R026: Failed to create Spring context 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] Attempt to initialize test context failed with 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] org.mockito.exceptions.base.MockitoException: 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] Cannot mock/spy class java.lang.Boolean 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] Mockito cannot mock/spy because : 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] - final class 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:34.410 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] when running class: 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] public class DiffblueFakeClass1266 { 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] @org.junit.Test // if JUnit 4 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] public void testSpringContextLoads() {} 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] } 08:56:34.411 [INFO][pool-9-thread-5][c.d.i.p.w.e] [10/13] See https://diff.blue/R026 to resolve this issue. 08:56:34.412 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.searchLocations:(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationState;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:34.609 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:34.612 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:34.612 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1331 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:34.618 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:34.621 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:34.621 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1332 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:34.628 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:34.631 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:34.631 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1333 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:35.023 [INFO][analyzer-service:TimedExecutor-94][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 82/333 its, 0.425s, 5.2ms/it 08:56:35.216 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:35.218 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:35.218 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:35.218 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1330 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:35.218 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:35.219 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.searchLocations:(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationState;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:35.425 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:35.427 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:35.427 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1406 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:35.433 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:35.435 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:35.435 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1407 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:35.443 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:35.445 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:35.446 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1408 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:35.849 [INFO][analyzer-service:TimedExecutor-96][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 82/333 its, 0.435s, 5.3ms/it 08:56:36.032 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:36.035 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:36.035 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:36.035 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1405 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:36.035 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:36.035 [INFO][analyzer-service:TimedExecutor-98][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.searchLocations:(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationState;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:36.482 [INFO][analyzer-service:TimedExecutor-98][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:36.607 [INFO][analyzer-service:TimedExecutor-98][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import javax.servlet.http.HttpServletRequest; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.locations.LocationState; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#searchLocations(HttpServletRequest, String, String, String, Boolean, LocationState, Integer, Integer, String, String, String)} */ @Test public void testSearchLocations() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); MockHttpServletRequest request = new MockHttpServletRequest(); String nameFilter = "Name Filter"; String descriptionFilter = "Description Filter"; String unitFilter = "Unit Filter"; boolean unitHierarchyFlag = true; LocationState stateFilter = LocationState.UNKNOWN; int start = 1; int length = 3; String searchText = "Search Text"; String sortColumn = "Sort Column"; String sortDirection = "Sort Direction"; // Act locationApiService.searchLocations(request, nameFilter, descriptionFilter, unitFilter, unitHierarchyFlag, stateFilter, start, length, searchText, sortColumn, sortDirection); } } 08:56:36.608 [INFO][analyzer-service:TimedExecutor-98][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:36.612 [INFO][analyzer-service:TimedExecutor-98][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:36.653 [INFO][analyzer-service:TimedExecutor-98][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import javax.servlet.http.HttpServletRequest; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.locations.LocationState; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#searchLocations(HttpServletRequest, String, String, String, Boolean, LocationState, Integer, Integer, String, String, String)} */ @Test public void testSearchLocations() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); MockHttpServletRequest request = new MockHttpServletRequest(); String nameFilter = "foo"; String descriptionFilter = "foo"; String unitFilter = "foo"; boolean unitHierarchyFlag = true; LocationState stateFilter = LocationState.UNKNOWN; int start = 1; int length = 1; String searchText = "foo"; String sortColumn = "foo"; String sortDirection = "foo"; // Act locationApiService.searchLocations(request, nameFilter, descriptionFilter, unitFilter, unitHierarchyFlag, stateFilter, start, length, searchText, sortColumn, sortDirection); } } 08:56:36.653 [INFO][analyzer-service:TimedExecutor-98][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:36.653 [INFO][analyzer-service:TimedExecutor-98][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.174s, 87.0ms/it 08:56:36.654 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:36.654 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:36.654 [INFO][analyzer-service:TimedExecutor-101][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.searchLocations:(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationState;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:36.867 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.searchLocations(HttpServletRequest, String, String, String, Boolean, LocationState, Integer, Integer, String, String, String) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:36.869 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.searchLocations:(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Lus/mycompany/itv/common/model/locations/LocationState;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1330 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.searchLocations 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] Partial tests created: 1 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] Reasons for partial tests: 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] R026: Failed to create Spring context 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] Attempt to initialize test context failed with 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:36.871 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] org.mockito.exceptions.base.MockitoException: 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] Cannot mock/spy class java.lang.Boolean 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] Mockito cannot mock/spy because : 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] - final class 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:36.872 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] when running class: 08:56:36.873 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] public class DiffblueFakeClass1330 { 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] @org.junit.Test // if JUnit 4 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] public void testSpringContextLoads() {} 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] } 08:56:36.874 [INFO][pool-9-thread-5][c.d.i.p.w.e] [11/13] See https://diff.blue/R026 to resolve this issue. 08:56:36.875 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.updateLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Lus/mycompany/itv/gateway/modules/locations/dto/LocationModificationRequest;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:37.107 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:37.115 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:37.115 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1485 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:37.120 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:37.130 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:37.130 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1486 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:37.136 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:37.145 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:37.145 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1487 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:38.677 [INFO][analyzer-service:TimedExecutor-103][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 334/333 its, 1.581s, 4.7ms/it 08:56:39.019 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 1/3, here is the last one: 08:56:39.027 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:39.028 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:39.028 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1484 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:39.028 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:39.028 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.updateLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Lus/mycompany/itv/gateway/modules/locations/dto/LocationModificationRequest;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:39.246 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:39.254 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:39.254 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1756 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:39.261 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:39.269 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:39.269 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1757 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:39.277 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:39.285 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >boolean<] 08:56:39.285 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1758 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:40.887 [INFO][analyzer-service:TimedExecutor-105][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 334/333 its, 1.654s, 5.0ms/it 08:56:41.208 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCo (sp, !fnm, df, !ris)', 2/3, here is the last one: 08:56:41.215 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 08:56:41.216 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >boolean< 08:56:41.216 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1755 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.x.a(SourceFile:1283) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 22 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 27 common frames omitted 08:56:41.216 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 08:56:41.216 [INFO][analyzer-service:TimedExecutor-107][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.updateLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Lus/mycompany/itv/gateway/modules/locations/dto/LocationModificationRequest;)Lorg/springframework/http/ResponseEntity;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 08:56:41.650 [INFO][analyzer-service:TimedExecutor-107][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:41.775 [INFO][analyzer-service:TimedExecutor-107][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.dto.LocationModificationRequest; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#updateLocation(Authentication, String, LocationModificationRequest)} */ @Test public void testUpdateLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService1, null, null, null, null, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); SensorHealthService sensorHealthService = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( null); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, null, null, null, null, new VehicleManagementService(), null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService2, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService3, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService()); LocationHealthService locationHealthService = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeocodingService geocodingService = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService1, null, null, null, locationItemRepository1, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService1, timeSeriesService4, geocodingService, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService, new NodeSearchService(null, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService5, null, null, null, null, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); LocationHealthService locationHealthService1 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); GeocodingService geocodingService1 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService2, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService1 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService2, timeSeriesService6, geocodingService1, locationUtils1, locationRepository1, locationItemRepository2, locationMapper1, locationItemMapper1, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService1, new NodeSearchService(null, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService1, timeSeriesService7, healthEventService1, auditLogSubmissionService1, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService9, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService11, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService10, messagingService1, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService2, locationManagementService2, locationItemManagementService2, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService4, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService12, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService5, locationItemManagementService3, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService13, null, null, null, null, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService6, timeSeriesService14, geocodingService3, locationUtils4, locationRepository4, locationItemRepository9, locationMapper4, locationItemMapper4, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService5, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService4 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService3, timeSeriesService8, geocodingService2, locationUtils2, locationRepository2, locationItemRepository4, locationMapper2, locationItemMapper2, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService4, new NodeSearchService(locationManagementService3, nodeItemRepository3, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService16, null, locationUtils5, locationRepository5, locationItemRepository11, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository12, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService15, messagingService2, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService3, locationManagementService5, locationItemManagementService6, vehicleManagementService12, vehicleCargoService3, modificationNotificationMessagingService7, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService17, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService8, locationItemManagementService7, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService15, locationEventRepository2, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService14, locationEventRepository1, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService1, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); MessagingService messagingService3 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService20, null, null, null, null, null, null, null, vehicleManagementService16, vehicleCargoService4, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService19, itemMovementManagementService4, shipmentManagementService4, healthEventService2, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService21, null, locationUtils6, locationRepository6, locationItemRepository14, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService6, auditLogSubmissionService2, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService(null); MessagingService messagingService4 = new MessagingService(null); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService22, null, null, null, null, null, null, null, vehicleManagementService17, vehicleCargoService5, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService4, shipmentManagementService5, unitAssetManagementService4, new VehicleManagementService()); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService23, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService4 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); GeocodingService geocodingService4 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService18, null, null, null, locationItemRepository16, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService7 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService9, timeSeriesService24, geocodingService4, locationUtils7, locationRepository7, locationItemRepository15, locationMapper7, locationItemMapper7, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService8, new NodeSearchService(null, nodeItemRepository4, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService(null, null, vehicleManagementService20, locationEventRepository3, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService25, null, null, null, null, null, null, null, vehicleManagementService21, vehicleCargoService6, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService19, locationEventManagementService3, shipmentManagementService6, unitAssetManagementService5, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService18, messagingService3, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService5, locationManagementService7, locationItemManagementService9, vehicleManagementService22, vehicleCargoService7, modificationNotificationMessagingService10, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService26, null, locationUtils8, locationRepository8, locationItemRepository18, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService8, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService27, null, personRepository2, personMapper2, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService24, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService28, null, null, null, null, null, null, null, vehicleManagementService25, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService23, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService6, locationItemRepository19, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( null); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, modificationNotificationMessagingService12, personRepository3, personMapper3, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService11, locationItemManagementService10, personManagementService2, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService11 = new LocationItemManagementService( vehicleManagementService10, locationEventManagementService2, shipmentManagementService7, unitAssetManagementService7, locationItemRepository20, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService26, vehicleCargoService9, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService1 = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService3 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService6, shipmentManagementService9, healthEventService3, shipmentNotificationService1, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService1 = new AssetCacheService(mock(CaffeineCacheManager.class)); AssetRepository assetRepository4 = mock(AssetRepository.class); AssetSearchService assetSearchService4 = new AssetSearchService(assetCacheService1, assetRepository4, new AssetMapperImpl()); TripStatsService tripStatsService1 = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService1 = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils9, locationRepository9, locationItemRepository21, locationMapper9, locationItemMapper9, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService(null); NotificationService notificationService1 = new NotificationService(null); RouteManagementService routeManagementService3 = new RouteManagementService(tripStatsService1, tripManagementService1, locationManagementService9, auditLogSubmissionService3, notificationService1, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService10, unitAssetManagementService8, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService6 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); LocationHealthService locationHealthService5 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService13 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService5 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService5 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService6 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService12 = new LocationItemManagementService( vehicleManagementService28, null, null, null, locationItemRepository23, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository5 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService6, locationHealthService5, modificationNotificationMessagingService13, timeSeriesService36, geocodingService5, locationUtils10, locationRepository10, locationItemRepository22, locationMapper10, locationItemMapper10, movementEventSubmissionService5, sensorRelationshipService6, locationItemManagementService12, new NodeSearchService(null, nodeItemRepository5, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService30, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService31 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService31, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService13 = new LocationItemManagementService( vehicleManagementService29, locationEventManagementService5, shipmentManagementService11, unitAssetManagementService9, locationItemRepository24, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService32 = new VehicleManagementService(); VehicleCargoService vehicleCargoService12 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService14 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService3 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository3 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository3 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository3 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository3 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService12 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService3, assetSearchService4, routeManagementService3, itemMovementManagementService7, locationManagementService10, locationItemManagementService13, vehicleManagementService32, vehicleCargoService12, modificationNotificationMessagingService14, transitStatsManagementService3, new ShipmentSearchService(shipmentRepository3, shipmentItemRepository3, shipmentEventRepository3, shipmentNoteRepository3, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository3 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService1 = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository3 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository3 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository5 = mock(AssetRepository.class); AssetSearchService assetSearchService5 = new AssetSearchService(null, assetRepository5, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository3 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils11, locationRepository11, locationItemRepository25, locationMapper11, locationItemMapper11, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper3 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper1 = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService1 = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService3 = new UnitAssetSearchService(unitAssetRepository3, unitAssetHealthService1, unitAssetItemRepository3, unitAssetAssignmentRepository3, assetSearchService5, unitAssetAssignmentEventRepository3, locationManagementService11, unitAssetMapper3, unitAssetAssignmentMapper1, requestManagementService1, new PersonManagementService(timeSeriesService39, null, personRepository4, personMapper4, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService15 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService33 = new VehicleManagementService(); VehicleManagementService vehicleManagementService34 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService34, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService35 = new VehicleManagementService(); VehicleCargoService vehicleCargoService13 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService13 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService35, vehicleCargoService13, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService14 = new LocationItemManagementService( vehicleManagementService33, locationEventManagementService6, shipmentManagementService13, unitAssetManagementService10, locationItemRepository26, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService16 = new ModificationNotificationMessagingService( null); PersonRepository personRepository5 = mock(PersonRepository.class); PersonMapperImpl personMapper5 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService16, personRepository5, personMapper5, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService11 = new UnitAssetManagementService(unitAssetSearchService3, modificationNotificationMessagingService15, locationItemManagementService14, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); VehicleManagementService vehicleManagementService36 = new VehicleManagementService(); LocationEventRepository locationEventRepository7 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper2 = new LocationEventMapperImpl(); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); VehicleManagementService vehicleManagementService37 = new VehicleManagementService(); VehicleCargoService vehicleCargoService14 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService14 = new ShipmentManagementService(timeSeriesService42, null, null, null, null, null, null, null, vehicleManagementService37, vehicleCargoService14, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService12 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService38 = new VehicleManagementService(); LocationEventRepository locationEventRepository8 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper3 = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository2 = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService7 = new LocationEventManagementService( shipmentManagementService14, unitAssetManagementService12, vehicleManagementService38, locationEventRepository8, locationEventMapper3, new ItemMovementStatsService(null, itemMovementStatsRepository2, new ItemMovementStatsMapperImpl(), null)); ItemMovementStatsRepository itemMovementStatsRepository3 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper1 = new ItemMovementStatsMapperImpl(); UnitAssetRepository unitAssetRepository4 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository4 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository4 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository4 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper4 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService4 = new UnitAssetSearchService(unitAssetRepository4, null, unitAssetItemRepository4, unitAssetAssignmentRepository4, null, unitAssetAssignmentEventRepository4, null, unitAssetMapper4, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService17 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService39 = new VehicleManagementService(); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService15 = new LocationItemManagementService( vehicleManagementService39, null, null, null, locationItemRepository27, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); PersonRepository personRepository6 = mock(PersonRepository.class); PersonMapperImpl personMapper6 = new PersonMapperImpl(); PersonManagementService personManagementService4 = new PersonManagementService(timeSeriesService43, null, personRepository6, personMapper6, new SensorRelationshipService()); LocationEventManagementService locationEventManagementService8 = new LocationEventManagementService( shipmentManagementService12, unitAssetManagementService11, vehicleManagementService36, locationEventRepository7, locationEventMapper2, new ItemMovementStatsService(locationEventManagementService7, itemMovementStatsRepository3, itemMovementStatsMapper1, new UnitAssetManagementService(unitAssetSearchService4, modificationNotificationMessagingService17, locationItemManagementService15, personManagementService4, new NotificationService(null)))); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); SensorRepository sensorRepository8 = mock(SensorRepository.class); SensorMapperImpl sensorMapper8 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository7 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper7 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService7 = new SensorManagementService(timeSeriesService44, null, null, null, null, sensorRepository8, sensorMapper8, sensorEventRepository7, sensorEventMapper7, new SensorRelationshipService()); LocationHealthService locationHealthService6 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService18 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); GeocodingService geocodingService6 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService6 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService7 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService40 = new VehicleManagementService(); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService16 = new LocationItemManagementService( vehicleManagementService40, null, null, null, locationItemRepository29, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository6 = mock(NodeItemRepository.class); LocationManagementService locationManagementService12 = new LocationManagementService(sensorManagementService7, locationHealthService6, modificationNotificationMessagingService18, timeSeriesService45, geocodingService6, locationUtils12, locationRepository12, locationItemRepository28, locationMapper12, locationItemMapper12, movementEventSubmissionService6, sensorRelationshipService7, locationItemManagementService16, new NodeSearchService(null, nodeItemRepository6, new NodeItemMapperImpl())); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService12, locationRepository13, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService4, locationItemManagementService11, locationEventManagementService8, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "42"; LocationModificationRequest locationModificationRequest = new LocationModificationRequest(); // Act locationApiService.updateLocation(authentication, locationId, locationModificationRequest); } } 08:56:41.775 [INFO][analyzer-service:TimedExecutor-107][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:41.779 [INFO][analyzer-service:TimedExecutor-107][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 08:56:41.826 [INFO][analyzer-service:TimedExecutor-107][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.api; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.validation.beanvalidation.CustomValidatorBean; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.dto.LocationModificationRequest; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService; import us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationHealthService; import us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationManagementService; import us.mycompany.itv.gateway.modules.locations.service.LocationSearchService; import us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.mq.movements.service.MovementsMQService; public class LocationApiServiceTest { /** * Method under test: {@link LocationApiService#updateLocation(Authentication, String, LocationModificationRequest)} */ @Test public void testUpdateLocation() { // Arrange LocationOperationSubmissionService locationOperationSubmissionService = new LocationOperationSubmissionService(); TimeSeriesService timeSeriesService = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService1, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService, sensorHealthService, sensorNotificationService, itemMovementManagementService, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService2, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService1, timeSeriesService3, healthEventService, auditLogSubmissionService, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(mock(CaffeineCacheManager.class)); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService1, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService5, null, null, null, null, null, null, null, vehicleManagementService2, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService, locationEventManagementService, shipmentManagementService, unitAssetManagementService, locationItemRepository3, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService6, null, locationUtils3, locationRepository3, locationItemRepository4, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService3 = new LocationManagementService(sensorManagementService, locationHealthService, modificationNotificationMessagingService, timeSeriesService4, geocodingService, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, movementEventSubmissionService, sensorRelationshipService, locationItemManagementService, new NodeSearchService(locationManagementService2, nodeItemRepository, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService7, null, null, null, null, null, null, null, vehicleManagementService4, vehicleCargoService1, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService( shipmentManagementService1, unitAssetManagementService1, vehicleManagementService5, locationEventRepository1, locationEventMapper, new ItemMovementStatsService(null, itemMovementStatsRepository, new ItemMovementStatsMapperImpl(), null)); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils4, locationRepository4, locationItemRepository5, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService6, null, null, null, locationItemRepository6, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService1, locationManagementService4, locationItemManagementService1, vehicleManagementService7, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService8, null, null, null, locationItemRepository7, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService10, null, personRepository, personMapper, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService2, personManagementService, new NotificationService(null)); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService3, locationEventManagementService1, shipmentManagementService2, unitAssetManagementService2, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); MessagingService messagingService1 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils5, locationRepository5, locationItemRepository9, locationMapper5, locationItemMapper5, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService9, null, null, null, locationItemRepository10, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService11, messagingService1, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService2, locationManagementService5, locationItemManagementService4, vehicleManagementService10, vehicleCargoService3, modificationNotificationMessagingService3, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService11, null, null, null, locationItemRepository11, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService13, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService4, locationItemManagementService5, personManagementService1, new NotificationService(null)); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper1 = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService13, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository1 = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService3, unitAssetManagementService3, vehicleManagementService12, locationEventRepository2, locationEventMapper1, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository1, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService6 = new LocationManagementService(null, null, null, timeSeriesService14, null, locationUtils6, locationRepository6, locationItemRepository12, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationEvaluationService locationEvaluationService = new LocationEvaluationService( new LocationSearchService(locationManagementService6, locationRepository7, new LocationMapperImpl())); LocationApiService locationApiService = new LocationApiService(locationOperationSubmissionService, locationManagementService3, locationItemManagementService3, locationEventManagementService3, locationEvaluationService, new CustomValidatorBean()); TestingAuthenticationToken authentication = new TestingAuthenticationToken("Principal", "Credentials"); String locationId = "foo"; LocationModificationRequest locationModificationRequest = new LocationModificationRequest(); // Act locationApiService.updateLocation(authentication, locationId, locationModificationRequest); } } 08:56:41.826 [INFO][analyzer-service:TimedExecutor-107][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:41.827 [INFO][analyzer-service:TimedExecutor-107][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 2/1000 its, 0.180s, 90.0ms/it 08:56:41.827 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.internalexception.UnexpectedException: Unexpected error: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:124) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.run(SourceFile:42) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.run(SourceFile:32) at com.diffblue.fuzztest.a.d.a(SourceFile:794) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.util.concurrent.ExecutionException: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.lambda$executeTask$1(SourceFile:32) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor.runWithTimeout(SourceFile:70) at com.diffblue.cover.sandbox.execution.SafeTimedExecutor.lambda$run$0(SourceFile:35) at com.diffblue.cover.sandbox.execution.WrapExceptionsInBaseException.handleException(SourceFile:57) ... 11 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.cache.caffeine.CaffeineCacheManager. Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list. Java : 11 JVM vendor name : Azul Systems, Inc. JVM vendor version : 11.0.14.1+1-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.14.1+1-LTS JVM info : mixed mode OS name : Windows 10 OS version : 10.0 Underlying exception : java.lang.IllegalArgumentException: Could not create type at com.diffblue.spring.isolation.framework.mocks.MockUtils.createStub(MockUtils.java:61) at com.diffblue.mockito.isolation.MockitoProxyImpl.stub(MockitoProxyImpl.java:61) at com.diffblue.tir.a.a.c.a(SourceFile:632) at com.diffblue.tir.a.f.a(SourceFile:23582) at com.diffblue.tir.d.e.c.a(SourceFile:30) at com.diffblue.tir.a.g.a(SourceFile:226) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:40) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMockType(SubclassByteBuddyMockMaker.java:77) at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:43) at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:42) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:53) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:96) at org.mockito.Mockito.mock(Mockito.java:1965) ... 11 common frames omitted Caused by: java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/Cache at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) at net.bytebuddy.description.method.MethodList$ForLoadedMethods.(MethodList.java:151) at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:8810) at net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.getDeclaredMethods(TypeDescription.java:3637) at net.bytebuddy.description.type.TypeDescription$Generic$LazyProjection.getDeclaredMethods(TypeDescription.java:6133) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default$5.doExtractConstructors(ConstructorStrategy.java:175) at net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy$Default.extractConstructors(ConstructorStrategy.java:196) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.applyConstructorStrategy(SubclassDynamicTypeBuilder.java:243) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:213) at net.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:204) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3668) at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$Delegator.make(DynamicType.java:3906) at org.mockito.internal.creation.bytebuddy.SubclassBytecodeGenerator.mockClass(SubclassBytecodeGenerator.java:288) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:47) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168) ... 21 common frames omitted Caused by: java.lang.ClassNotFoundException: com.github.benmanes.caffeine.cache.Cache at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at com.diffblue.cover.launcher.FilteringClassLoader.findClass(FilteringClassLoader.java:53) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at com.diffblue.cover.launcher.FilteringClassLoader.loadClassBasedOnPolicy(FilteringClassLoader.java:75) at com.diffblue.cover.launcher.FilteringClassLoader.loadClass(FilteringClassLoader.java:61) at com.diffblue.cover.e.e.loadClass(SourceFile:66) ... 38 common frames omitted 08:56:41.828 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCo (sp, !fnm, df, !ris)' 08:56:41.828 [INFO][analyzer-service:TimedExecutor-110][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.api.LocationApiService.updateLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Lus/mycompany/itv/gateway/modules/locations/dto/LocationModificationRequest;)Lorg/springframework/http/ResponseEntity;' using 'SCo (sp, !fnm, df, !ris)' ================================================================================ 08:56:42.066 [WARN][pool-9-thread-5][c.d.i.plugin.g.a] Failure to combine test code - Unable to combine written test code for LocationApiService.updateLocation(Authentication, String, LocationModificationRequest) into existing test class LocationApiServiceTest. This can occur when the existing test file has been manually edited causing an incompatibility. See the documentation for details. com.diffblue.cover.exception.environment.InsertTestException: Failed to insert a test into the created test Java file 'C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\src\test\java\us\mycompany\itv\gateway\modules\locations\api\LocationApiServiceTest.java' at com.diffblue.intellij.plugin.b.f.b(SourceFile:127) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023) at com.diffblue.intellij.plugin.a.a.c(SourceFile:66) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.diffblue.intellij.plugin.a.a.b(SourceFile:67) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:95) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: com.diffblue.combiner.a.b: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.combiner.a.a$a.a(SourceFile:151) at com.diffblue.intellij.plugin.b.f.b(SourceFile:98) ... 39 common frames omitted Caused by: java.lang.IllegalArgumentException: Invalid identifier : >boolean< at com.diffblue.shaded.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:243) at com.diffblue.shaded.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2742) at com.diffblue.a.u.a(SourceFile:51) at com.diffblue.a.u.a(SourceFile:60) at com.diffblue.a.a.f.a(SourceFile:85) at com.diffblue.a.a.e.b(SourceFile:53) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at com.diffblue.a.a.e.a(SourceFile:59) at com.diffblue.a.w.(SourceFile:430) at com.diffblue.a.v.a(SourceFile:211) at com.diffblue.cover.e.b.a(SourceFile:54) at com.diffblue.combiner.a.c.a(SourceFile:500) at com.diffblue.combiner.a.a.a(SourceFile:1061) at com.diffblue.combiner.a.a$a.a(SourceFile:146) ... 40 common frames omitted 08:56:42.067 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.updateLocation:(Lorg/springframework/security/core/Authentication;Ljava/lang/String;Lus/mycompany/itv/gateway/modules/locations/dto/LocationModificationRequest;)Lorg/springframework/http/ResponseEntity;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Boolean Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.api; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1484 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 08:56:42.068 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService.updateLocation 08:56:42.068 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] Partial tests created: 1 08:56:42.068 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] Reasons for partial tests: 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] R026: Failed to create Spring context 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] Attempt to initialize test context failed with 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] java.lang.IllegalStateException: Failed to load ApplicationContext 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] org.mockito.exceptions.base.MockitoException: 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] Cannot mock/spy class java.lang.Boolean 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] Mockito cannot mock/spy because : 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] - final class 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] when running class: 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] package us.mycompany.itv.gateway.modules.locations.api; 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.api.LocationApiService.class,us.mycompany.itv.gateway.modules.locations.service.submission.LocationOperationSubmissionService.class,us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEventManagementService.class,us.mycompany.itv.gateway.modules.locations.service.LocationEvaluationService.class,javax.validation.Validator.class,us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService.class,us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService.class}) 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] public class DiffblueFakeClass1484 { 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] @org.springframework.boot.test.mock.mockito.MockBean java.lang.Boolean aBoolean; 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.api.LocationApiService locationApiService; 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] @org.junit.Test // if JUnit 4 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] @org.junit.jupiter.api.Test // if JUnit 5 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] public void testSpringContextLoads() {} 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] } 08:56:42.069 [INFO][pool-9-thread-5][c.d.i.p.w.e] [12/13] See https://diff.blue/R026 to resolve this issue. 08:56:42.081 [INFO][pool-9-thread-5][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.api.LocationApiService.:(Lus/mycompany/itv/gateway/modules/locations/service/submission/LocationOperationSubmissionService;Lus/mycompany/itv/gateway/modules/locations/service/LocationManagementService;Lus/mycompany/itv/gateway/modules/locations/service/LocationItemManagementService;Lus/mycompany/itv/gateway/modules/locations/service/LocationEventManagementService;Lus/mycompany/itv/gateway/modules/locations/service/LocationEvaluationService;Ljavax/validation/Validator;)V: T005: Trivial constructor See https://diff.blue/T005 08:56:42.081 [INFO][pool-9-thread-5][c.d.i.p.w.e] [13/13] us.mycompany.itv.gateway.modules.locations.api.LocationApiService. 08:56:42.081 [INFO][pool-9-thread-5][c.d.i.p.w.e] [13/13] T005: Trivial constructor 08:56:42.081 [INFO][pool-9-thread-5][c.d.i.p.w.e] [13/13] See https://diff.blue/T005 08:56:42.084 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/1] us.mycompany.itv.gateway.modules.locations.api.LocationApiService 08:56:42.084 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/1] Tests created: 0 08:56:42.084 [INFO][pool-9-thread-5][c.d.i.p.w.e] [1/1] Partial tests created: 12 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] Summary: 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] -------- 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] Total: 13 methods 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] 12 partial tests created for: 12 methods 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] Tested indirectly via other methods: 1 method 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] 1 T005: Trivial constructor 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] No tests created for: 12 methods 08:56:42.086 [INFO][pool-9-thread-5][c.d.i.p.w.e] 12 R026: Failed to create Spring context 08:56:42.661 [INFO][ApplicationImpl pooled thread 836][c.d.i.p.w.e] Will not write a JSON report 08:56:42.661 [INFO][ApplicationImpl pooled thread 836][c.d.i.p.w.e] DIFFBLUE_REPORT_FILE is not set or is not true. Local env value: null, System env value: null 08:56:42.661 [INFO][ApplicationImpl pooled thread 836][c.d.i.p.w.e] License doesn't allow multiple classes 08:56:42.661 [INFO][ApplicationImpl pooled thread 836][c.d.i.p.w.e] License doesn't allow creating report.json 09:44:44.687 [INFO][ApplicationImpl pooled thread 891][c.d.cover.p.a.a] Using Java version: 11.0.14 09:44:44.687 [INFO][ApplicationImpl pooled thread 891][c.d.cover.p.a.a] Detected the presence of the following Java-version-dependent Spring dependencies: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Test | Present | 5.3.22 | 09:44:44.757 [INFO][ApplicationImpl pooled thread 891][c.d.cover.p.a.a] Detected the following dependency's presence and version: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Hamcrest 1 | Not Present | | | Hamcrest 2 | Present | 2.2 | | JSR107 API and SPI (Cache) | Not Present | | | Java Servlet API | Present | | | JUnit Jupiter | Present | 5.8.2 | | JUnit | Present | 3.8.1 | | JUnit Platform Engine | Present | 1.8.2 | | JUnit Platform Launcher | Not Present | | | Mockito | Present | 4.5.1 | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Web | Present | 5.3.22 | | Spring WebMVC | Present | 5.3.22 | | Spring Security Config | Present | 5.7.3 | | Spring Test | Present | 5.3.22 | 09:44:45.140 [INFO][pool-9-thread-6][c.d.i.p.w.e] Found 21 callable methods in 1 class 09:44:45.151 [INFO][pool-9-thread-6][c.d.cover.b.b.b] 09:44:45.151 [INFO][pool-9-thread-6][c.d.cover.b.b.b] Creating tests: 09:44:45.151 [INFO][pool-9-thread-6][c.d.cover.b.b.b] --------------- 09:44:45.151 [INFO][pool-9-thread-6][c.d.cover.b.b.b] ================================================================================ = Starting analysis for class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService' ================================================================================ 09:44:45.152 [INFO][pool-9-thread-6][c.d.cover.b.b.b] Filtering out non-testable methods... 09:44:51.095 [INFO][pool-9-thread-6][c.d.cover.b.b.b] Filtering of methods complete. Creating analysis request 09:44:51.095 [INFO][pool-9-thread-6][c.d.c.service.c] Attempting to get service client, retry 1. 09:44:51.097 [INFO][pool-9-thread-6][c.d.c.service.c] Starting monitoring server. 09:44:51.109 [INFO][pool-9-thread-6][c.d.c.service.c] Monitoring server listening on localhost/127.0.0.1:64412 09:44:51.110 [INFO][pool-9-thread-6][c.d.c.service.c] Starting analyzer server process... 09:44:51.110 [INFO][pool-9-thread-6][c.d.c.service.c] Server command-line: C:\Users\ibcol\.jdks\azul-11.0.14.1\bin\java.exe -XX:+IgnoreUnrecognizedVMOptions -Xms128m -Xmx750m -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Xmx16384m -Dide.no.platform.update=true -Dtoolbox.notification.token=wP3i9vqv0vJMrO9tYHANKdGiMrFcq98SOhkmwHGCMwQ= -Dtoolbox.notification.portFile=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.vmoptions.port -Dsplash=true -Dide.native.launcher=true -ea -javaagent:C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar -Dlogback.configurationFile=C:\Users\ibcol\AppData\Local\Temp\diffblue\config\logback-remote-service.xml -Dcom.diffblue.springIsolationJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-isolation-layer-2022.09.01.jar -Dcover.jar.path=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcom.diffblue.assertionSuggestionJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcover.main.class=com.diffblue.cover.service.analyzer.Main -jar C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar --service-lifespan 1800 --monitoring-service-port 64412 --debug-log 09:44:51.113 [INFO][pool-9-thread-6][c.d.c.service.c] Server started. Waiting up to 300 seconds for a connection to be established... 09:44:51.688 [INFO][nullmain][c.d.c.s.a.a.b] Starting new remote monitor client 09:44:52.709 [INFO][analyzer-service:main][c.d.c.s.a.a.b] Attempting to start remote server. 09:44:52.980 [INFO][analyzer-service:main][c.d.c.s.a.a.a] Server started, listening on localhost/127.0.0.1:64456 09:44:53.114 [INFO][pool-9-thread-6][c.d.c.service.c] Expect analyzer service to be listening on port 64456. 09:44:53.177 [INFO][pool-9-thread-6][c.d.c.service.c] Started analyzer service and client retrieved. 09:44:54.786 [INFO][pool-9-thread-6][c.d.cover.b.b.e] Configuration: Dummy analysis engine: false Module: foobar-webapp Classpath: C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\test-classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-libs\target\classes;C:\Users\ibcol\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\ibcol\.m2\repository\com\offbytwo\ulid\ulid\0.1.0\ulid-0.1.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.13.3\jackson-dataformat-xml-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\codehaus\woodstox\stax2-api\4.2.1\stax2-api-4.2.1.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\woodstox\woodstox-core\6.2.7\woodstox-core-6.2.7.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;C:\Users\ibcol\.m2\repository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\geo\0.7.6\geo-0.7.6.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\grumpy-core\0.2.2\grumpy-core-0.2.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;C:\Users\ibcol\.m2\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\Users\ibcol\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ibcol\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\ibcol\.m2\repository\org\hibernate\validator\hibernate-validator\6.2.4.Final\hibernate-validator-6.2.4.Final.jar;C:\Users\ibcol\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.70\bcpkix-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.70\bcprov-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcutil-jdk15on\1.70\bcutil-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-test\5.3.22\spring-test-5.3.22.jar;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-mq\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-tasks\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-cache\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-channels\target\classes;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.7.3\spring-boot-configuration-processor-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-jdbc\2.7.0\spring-session-jdbc-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-core\2.7.0\spring-session-core-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jcl\5.3.22\spring-jcl-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jdbc\5.3.22\spring-jdbc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.7.3\spring-boot-starter-data-jpa-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.7.3\spring-boot-starter-aop-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.7.3\spring-boot-starter-jdbc-2.7.3.jar;C:\Users\ibcol\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-core\5.6.10.Final\hibernate-core-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy\1.12.13\byte-buddy-1.12.13.jar;C:\Users\ibcol\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\ibcol\.m2\repository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;C:\Users\ibcol\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;C:\Users\ibcol\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;C:\Users\ibcol\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-jpa\2.7.2\spring-data-jpa-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-commons\2.7.2\spring-data-commons-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-orm\5.3.22\spring-orm-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aspects\5.3.22\spring-aspects-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-spatial\5.6.10.Final\hibernate-spatial-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;C:\Users\ibcol\.m2\repository\org\geolatte\geolatte-geom\1.8.2\geolatte-geom-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\locationtech\jts\jts-core\1.18.2\jts-core-1.18.2.jar;C:\Users\ibcol\.m2\repository\com\vladmihalcea\hibernate-types-52\2.16.3\hibernate-types-52-2.16.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.13.3\jackson-module-jaxb-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;C:\Users\ibcol\.m2\repository\org\postgresql\postgresql\42.3.6\postgresql-42.3.6.jar;C:\Users\ibcol\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-jdbc\2021.1.0\postgis-jdbc-2021.1.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-geometry\2021.1.0\postgis-geometry-2021.1.0.jar;C:\Users\ibcol\.m2\repository\org\flywaydb\flyway-core\8.5.13\flyway-core-8.5.13.jar;C:\Users\ibcol\.m2\repository\org\influxdb\influxdb-java\2.22\influxdb-java-2.22.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\retrofit\2.9.0\retrofit-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\converter-moshi\2.9.0\converter-moshi-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\moshi\moshi\1.8.0\moshi-1.8.0.jar;C:\Users\ibcol\.m2\repository\org\msgpack\msgpack-core\0.9.0\msgpack-core-0.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\logging-interceptor\4.9.3\logging-interceptor-4.9.3.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context\5.3.22\spring-context-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aop\5.3.22\spring-aop-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-beans\5.3.22\spring-beans-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-core\5.3.22\spring-core-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-expression\5.3.22\spring-expression-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter\2.7.3\spring-boot-starter-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot\2.7.3\spring-boot-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.7.3\spring-boot-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.7.3\spring-boot-starter-logging-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;C:\Users\ibcol\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.7.3\spring-boot-starter-web-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.7.3\spring-boot-starter-json-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.7.3\spring-boot-starter-tomcat-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.65\tomcat-embed-core-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.65\tomcat-embed-websocket-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-web\5.3.22\spring-web-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webmvc\5.3.22\spring-webmvc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-webflux\2.7.3\spring-boot-starter-webflux-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-reactor-netty\2.7.3\spring-boot-starter-reactor-netty-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-http\1.0.22\reactor-netty-http-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http\4.1.79.Final\netty-codec-http-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http2\4.1.79.Final\netty-codec-http2-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns\4.1.79.Final\netty-resolver-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-dns\4.1.79.Final\netty-codec-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-native-macos\4.1.79.Final\netty-resolver-dns-native-macos-4.1.79.Final-osx-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-classes-macos\4.1.79.Final\netty-resolver-dns-classes-macos-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-epoll\4.1.79.Final\netty-transport-native-epoll-4.1.79.Final-linux-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-classes-epoll\4.1.79.Final\netty-transport-classes-epoll-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-core\1.0.22\reactor-netty-core-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler-proxy\4.1.79.Final\netty-handler-proxy-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-socks\4.1.79.Final\netty-codec-socks-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webflux\5.3.22\spring-webflux-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\reactor-core\3.4.22\reactor-core-3.4.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.7.3\spring-boot-starter-validation-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.65\tomcat-embed-el-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-cache\2.7.3\spring-boot-starter-cache-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context-support\5.3.22\spring-context-support-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-redis\2.7.3\spring-boot-starter-data-redis-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-redis\2.7.2\spring-data-redis-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-keyvalue\2.7.2\spring-data-keyvalue-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-oxm\5.3.22\spring-oxm-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\lettuce\lettuce-core\6.1.9.RELEASE\lettuce-core-6.1.9.RELEASE.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-common\4.1.79.Final\netty-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler\4.1.79.Final\netty-handler-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver\4.1.79.Final\netty-resolver-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-buffer\4.1.79.Final\netty-buffer-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.79.Final\netty-transport-native-unix-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec\4.1.79.Final\netty-codec-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport\4.1.79.Final\netty-transport-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr-spring-boot-starter\5.1.6\jobrunr-spring-boot-starter-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr\5.1.6\jobrunr-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\ow2\asm\asm\9.3\asm-9.3.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot-starter\3.0.4\jasypt-spring-boot-starter-3.0.4.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot\3.0.4\jasypt-spring-boot-3.0.4.jar;C:\Users\ibcol\.m2\repository\org\jasypt\jasypt\1.9.3\jasypt-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.7.3\spring-boot-starter-thymeleaf-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf-spring5\3.0.15.RELEASE\thymeleaf-spring5-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf\3.0.15.RELEASE\thymeleaf-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-websocket\2.7.3\spring-boot-starter-websocket-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-messaging\5.3.22\spring-messaging-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-websocket\5.3.22\spring-websocket-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-springsecurity5\3.0.4.RELEASE\thymeleaf-extras-springsecurity5-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\com\google\guava\guava\31.1-jre\guava-31.1-jre.jar;C:\Users\ibcol\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\ibcol\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\ibcol\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\ibcol\.m2\repository\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;C:\Users\ibcol\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-pdf\9.1.22\flying-saucer-pdf-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\lowagie\itext\2.1.7\itext-2.1.7.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-core\9.1.22\flying-saucer-core-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\core\3.5.0\core-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\javase\3.5.0\javase-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\beust\jcommander\1.82\jcommander-1.82.jar;C:\Users\ibcol\.m2\repository\com\github\jai-imageio\jai-imageio-core\1.4.0\jai-imageio-core-1.4.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.7.3\spring-boot-starter-security-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-config\5.7.3\spring-security-config-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-web\5.7.3\spring-security-web-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.7.3\spring-boot-starter-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.3\spring-boot-actuator-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator\2.7.3\spring-boot-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\micrometer\micrometer-core\1.9.3\micrometer-core-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;C:\Users\ibcol\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-core\1.5.1\jgrapht-core-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\jheaps\jheaps\0.13\jheaps-0.13.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-io\1.5.1\jgrapht-io-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\antlr\antlr4-runtime\4.8-1\antlr4-runtime-4.8-1.jar;C:\Users\ibcol\.m2\repository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;C:\Users\ibcol\.m2\repository\org\mapstruct\mapstruct\1.5.2.Final\mapstruct-1.5.2.Final.jar;C:\Users\ibcol\.m2\repository\io\jenetics\jpx\2.3.0\jpx-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\hashids\hashids\1.0.3\hashids-1.0.3.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-ui\1.6.9\springdoc-openapi-ui-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-webmvc-core\1.6.9\springdoc-openapi-webmvc-core-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-common\1.6.9\springdoc-openapi-common-1.6.9.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-core\2.2.0\swagger-core-2.2.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.13.3\jackson-dataformat-yaml-2.13.3.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-annotations\2.2.0\swagger-annotations-2.2.0.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-models\2.2.0\swagger-models-2.2.0.jar;C:\Users\ibcol\.m2\repository\org\webjars\swagger-ui\4.11.1\swagger-ui-4.11.1.jar;C:\Users\ibcol\.m2\repository\org\webjars\webjars-locator-core\0.50\webjars-locator-core-0.50.jar;C:\Users\ibcol\.m2\repository\io\github\classgraph\classgraph\4.8.147\classgraph-4.8.147.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jms\5.3.22\spring-jms-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-tx\5.3.22\spring-tx-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core\3.18.2\camel-core-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-engine\3.18.2\camel-core-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-api\3.18.2\camel-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base-engine\3.18.2\camel-base-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base\3.18.2\camel-base-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-reifier\3.18.2\camel-core-reifier-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-processor\3.18.2\camel-core-processor-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-management-api\3.18.2\camel-management-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util\3.18.2\camel-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-languages\3.18.2\camel-core-languages-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-model\3.18.2\camel-core-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-bean\3.18.2\camel-bean-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-browse\3.18.2\camel-browse-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cluster\3.18.2\camel-cluster-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-controlbus\3.18.2\camel-controlbus-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataformat\3.18.2\camel-dataformat-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataset\3.18.2\camel-dataset-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-direct\3.18.2\camel-direct-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-directvm\3.18.2\camel-directvm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-file\3.18.2\camel-file-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-health\3.18.2\camel-health-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-language\3.18.2\camel-language-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-log\3.18.2\camel-log-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-mock\3.18.2\camel-mock-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-ref\3.18.2\camel-ref-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rest\3.18.2\camel-rest-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-tooling-model\3.18.2\camel-tooling-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-saga\3.18.2\camel-saga-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-scheduler\3.18.2\camel-scheduler-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-seda\3.18.2\camel-seda-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-stub\3.18.2\camel-stub-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-timer\3.18.2\camel-timer-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-validator\3.18.2\camel-validator-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-vm\3.18.2\camel-vm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xpath\3.18.2\camel-xpath-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xslt\3.18.2\camel-xslt-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb\3.18.2\camel-xml-jaxb-3.18.2.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-core\2.3.0\jaxb-core-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxp\3.18.2\camel-xml-jaxp-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-io-util\3.18.2\camel-xml-io-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-jms\3.18.2\camel-jms-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-support\3.18.2\camel-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring\3.18.2\camel-spring-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\geronimo\specs\geronimo-jms_2.0_spec\1.0-alpha-2\geronimo-jms_2.0_spec-1.0-alpha-2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rabbitmq\3.18.2\camel-rabbitmq-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-pool2\2.11.1\commons-pool2-2.11.1.jar;C:\Users\ibcol\.m2\repository\com\rabbitmq\amqp-client\5.14.2\amqp-client-5.14.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-amqp\2.7.3\spring-boot-starter-amqp-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-rabbit\2.4.6\spring-rabbit-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-amqp\2.4.6\spring-amqp-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\retry\spring-retry\1.3.3\spring-retry-1.3.3.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot-starter\3.18.2\camel-spring-boot-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot\3.18.2\camel-spring-boot-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-main\3.18.2\camel-spring-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-main\3.18.2\camel-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util-json\3.18.2\camel-util-json-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb-dsl\3.18.2\camel-xml-jaxb-dsl-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dsl-support\3.18.2\camel-dsl-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-xml\3.18.2\camel-spring-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-xml\3.18.2\camel-core-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cloud\3.18.2\camel-cloud-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-core-starter\3.18.2\camel-core-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-bean-starter\3.18.2\camel-bean-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-browse-starter\3.18.2\camel-browse-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-controlbus-starter\3.18.2\camel-controlbus-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataformat-starter\3.18.2\camel-dataformat-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataset-starter\3.18.2\camel-dataset-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-direct-starter\3.18.2\camel-direct-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-directvm-starter\3.18.2\camel-directvm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-file-starter\3.18.2\camel-file-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-language-starter\3.18.2\camel-language-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-log-starter\3.18.2\camel-log-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-mock-starter\3.18.2\camel-mock-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-ref-starter\3.18.2\camel-ref-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-rest-starter\3.18.2\camel-rest-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-saga-starter\3.18.2\camel-saga-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-scheduler-starter\3.18.2\camel-scheduler-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-seda-starter\3.18.2\camel-seda-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-stub-starter\3.18.2\camel-stub-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-timer-starter\3.18.2\camel-timer-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-validator-starter\3.18.2\camel-validator-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-vm-starter\3.18.2\camel-vm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xpath-starter\3.18.2\camel-xpath-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xslt-starter\3.18.2\camel-xslt-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xml-jaxp-starter\3.18.2\camel-xml-jaxp-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\yaml\snakeyaml\1.32\snakeyaml-1.32.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-reactive-streams-starter\3.18.2\camel-reactive-streams-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-reactive-streams\3.18.2\camel-reactive-streams-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;C:\Users\ibcol\.m2\repository\com\h2database\h2\1.4.197\h2-1.4.197.jar;C:\Users\ibcol\.m2\repository\com\univocity\univocity-parsers\2.9.1\univocity-parsers-2.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;C:\Users\ibcol\.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\ibcol\.m2\repository\org\ddogleg\ddogleg\0.21\ddogleg-0.21.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-core\0.41\ejml-core-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fdense\0.41\ejml-fdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-ddense\0.41\ejml-ddense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-simple\0.41\ejml-simple-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-cdense\0.41\ejml-cdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-zdense\0.41\ejml-zdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fsparse\0.41\ejml-fsparse-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-dsparse\0.41\ejml-dsparse-0.41.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.13.3\jackson-datatype-joda-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-csv\2.13.3\jackson-dataformat-csv-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;C:\Users\ibcol\.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.7.3\spring-boot-starter-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test\2.7.3\spring-boot-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.7.3\spring-boot-test-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\com\jayway\jsonpath\json-path\2.7.0\json-path-2.7.0.jar;C:\Users\ibcol\.m2\repository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\org\assertj\assertj-core\3.22.0\assertj-core-3.22.0.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-core\4.5.1\mockito-core-4.5.1.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy-agent\1.12.13\byte-buddy-agent-1.12.13.jar;C:\Users\ibcol\.m2\repository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-junit-jupiter\4.5.1\mockito-junit-jupiter-4.5.1.jar;C:\Users\ibcol\.m2\repository\org\skyscreamer\jsonassert\1.5.1\jsonassert-1.5.1.jar;C:\Users\ibcol\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\ibcol\.m2\repository\org\xmlunit\xmlunit-core\2.9.0\xmlunit-core-2.9.0.jar;C:\Users\ibcol\.m2\repository\joda-time\joda-time\2.10.14\joda-time-2.10.14.jar;C:\Users\ibcol\.m2\repository\de\micromata\jak\JavaAPIforKml\2.2.1\JavaAPIforKml-2.2.1.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2\jaxb-impl-2.2.jar;C:\Users\ibcol\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\ibcol\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2\jaxb-xjc-2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi\5.2.2\poi-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml\5.2.2\poi-ooxml-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml-lite\5.2.2\poi-ooxml-lite-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\xmlbeans\xmlbeans\5.0.3\xmlbeans-5.0.3.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-compress\1.21\commons-compress-1.21.jar;C:\Users\ibcol\.m2\repository\com\github\virtuald\curvesapi\1.07\curvesapi-1.07.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\testcontainers\1.16.3\testcontainers-1.16.3.jar;C:\Users\ibcol\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest-core\2.2\hamcrest-core-2.2.jar;C:\Users\ibcol\.m2\repository\org\rnorth\duct-tape\duct-tape\1.0.8\duct-tape-1.0.8.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\annotations\17.0.0\annotations-17.0.0.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-api\3.2.12\docker-java-api-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport-zerodep\3.2.12\docker-java-transport-zerodep-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport\3.2.12\docker-java-transport-3.2.12.jar;C:\Users\ibcol\.m2\repository\net\java\dev\jna\jna\5.8.0\jna-5.8.0.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\postgresql\1.16.3\postgresql-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\jdbc\1.16.3\jdbc-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\database-commons\1.16.3\database-commons-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\influxdb\1.17.3\influxdb-1.17.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\junit-jupiter\1.16.3\junit-jupiter-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;C:\Users\ibcol\.m2\repository\io\xlate\staedi\1.19.0\staedi-1.19.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-test\5.1.6.RELEASE\spring-security-test-5.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-core\5.7.3\spring-security-core-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-crypto\5.7.3\spring-security-crypto-5.7.3.jar;C:\Users\ibcol\.m2\repository\com\openpojo\openpojo\0.9.1\openpojo-0.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-text\1.9\commons-text-1.9.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar Index: C:\Users\ibcol\.diffblue\index\foobar-services-c22b7d605935b60729b0ced5056a4582af15cd318e5793d8aae56725440673f9 Iterations: 1000 StopOnFirstSuccess: false MockingPrefixes: [] MockStaticClassNames: [] MockInputObjects: true SpringIntegrationTests: true PerMethodSoftTimeout: PT20S PerMethodHardTimeout: PT30M SpringStartupTimeout: PT10M ReplayTrace: null ActiveSpringProfiles: [] ConfigurationClasses: [] CoverAllEnums: false DisableSecurityPolicy: false 09:44:56.172 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 09:45:15.323 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:45:15.634 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = "Location Id"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 09:45:15.636 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:45:15.703 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:45:15.716 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = ","; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 09:45:15.716 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:45:15.773 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:45:15.787 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = "\\s+"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 09:45:15.787 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:45:16.290 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 1.117s, 55.9ms/it 09:45:16.707 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:45:16.720 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 09:45:16.721 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test @Ignore("TODO: Complete this test") public void testAddSensorToLocation() { // Arrange String locationId = "42"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 09:45:16.721 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:45:16.722 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 09:45:16.723 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 09:45:19.253 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:45:19.255 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:45:19.256 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass20 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:45:19.269 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:45:19.271 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:45:19.271 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass21 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:45:19.286 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:45:19.288 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:45:19.289 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass22 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:45:19.435 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.213s, 10.7ms/it 09:45:19.748 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:45:19.751 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 09:45:19.751 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:45:19.751 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass19 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:45:19.752 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 09:45:19.753 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:45:57.449 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 1002/1000 its, 36.706s, 36.6ms/it 09:45:58.480 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 09:45:58.482 [INFO][analyzer-service:TimedExecutor-367][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] Tests created: 1 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] Partial tests created: 1 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] Reasons for partial tests: 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] R013: No inputs found that don't throw a trivial exception 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] test threw 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] java.lang.NullPointerException 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] at us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService.addSensorRelationship(SensorRelationshipService.java:72) 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.lambda$addSensorToLocation$4(LocationManagementService.java:477) 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] at java.util.Optional.ifPresent(Optional.java:183) 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation(LocationManagementService.java:476) 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] In order to prevent addSensorToLocation(String, String) 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] from throwing NullPointerException, add constructors or factory 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] methods that make it easier to construct fully initialized objects used in 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] addSensorToLocation(String, String). 09:46:02.393 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/21] See https://diff.blue/R013 to resolve this issue. 09:46:02.394 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 09:46:03.423 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:46:03.431 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = "Location Id"; // Act locationManagementService.deleteLocation(locationId); } } 09:46:03.432 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass37 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:46:03.474 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:46:03.483 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = ","; // Act locationManagementService.deleteLocation(locationId); } } 09:46:03.484 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass38 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:46:03.527 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:46:03.535 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = "\\s+"; // Act locationManagementService.deleteLocation(locationId); } } 09:46:03.536 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass39 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:46:16.053 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 12.735s, 40.9ms/it 09:46:16.386 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:46:16.393 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 09:46:16.393 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test @Ignore("TODO: Complete this test") public void testDeleteLocation() { // Arrange String locationId = "42"; // Act locationManagementService.deleteLocation(locationId); } } 09:46:16.394 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass36 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:46:16.395 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 09:46:16.395 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 09:46:17.669 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:46:17.672 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:46:17.672 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass348 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:46:17.683 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:46:17.685 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:46:17.686 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass349 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:46:17.700 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:46:17.703 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:46:17.703 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass350 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:46:20.959 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 3.313s, 10.7ms/it 09:46:21.277 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:46:21.279 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 09:46:21.280 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:46:21.280 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass347 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:46:21.280 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 09:46:21.281 [INFO][analyzer-service:TimedExecutor-370][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:47:06.847 [INFO][analyzer-service:TimedExecutor-370][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 4+0 new+accumulated tests, 3+1 tests+partial tests, 1002/1000 its, 45.123s, 45.0ms/it 09:47:07.698 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 3+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 4 09:47:07.698 [INFO][analyzer-service:TimedExecutor-692][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] Tests created: 3 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] Partial tests created: 1 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] Reasons for partial tests: 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] R013: No inputs found that don't throw a trivial exception 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] test threw 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] java.lang.NullPointerException 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.sendLocationNotification(LocationManagementService.java:667) 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation(LocationManagementService.java:582) 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] In order to prevent deleteLocation(String) 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] from throwing NullPointerException, add constructors or factory 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] methods that make it easier to construct fully initialized objects used in 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] deleteLocation(String). 09:47:10.361 [INFO][pool-9-thread-6][c.d.i.p.w.e] [2/21] See https://diff.blue/R013 to resolve this issue. 09:47:10.363 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (it, !fnm)' ================================================================================ 09:47:11.821 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:11.831 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.enrichLocation(location); } } 09:47:11.831 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass658 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:47:11.879 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:11.893 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.enrichLocation(location); } } 09:47:11.893 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass659 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:47:11.935 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:11.942 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.enrichLocation(location); } } 09:47:11.943 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass660 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:47:13.552 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 1.916s, 37.6ms/it 09:47:13.761 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:47:13.768 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:47:13.768 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testEnrichLocation() { // Arrange Location location = new Location(); // Act locationManagementService.enrichLocation(location); } } 09:47:13.768 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass657 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:47:13.768 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:47:13.769 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (!it, !fnm)' ================================================================================ 09:47:14.703 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:14.704 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:47:14.704 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass710 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:47:14.713 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:14.715 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:47:14.715 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass711 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:47:14.722 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:14.724 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:47:14.724 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass712 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:47:15.061 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.440s, 8.3ms/it 09:47:15.250 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:47:15.253 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:47:15.253 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:47:15.253 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass709 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:47:15.254 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:47:15.254 [INFO][analyzer-service:TimedExecutor-695][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:47:26.122 [INFO][analyzer-service:TimedExecutor-695][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 553/1000 its, 10.431s, 18.9ms/it 09:47:26.345 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 09:47:26.345 [INFO][analyzer-service:TimedExecutor-705][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (it, !fnm)' ================================================================================ 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] Tests created: 1 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] Partial tests created: 1 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] Reasons for partial tests: 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] R013: No inputs found that don't throw a trivial exception 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] test threw 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] java.lang.NullPointerException 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] at us.mycompany.itv.gateway.modules.locations.service.LocationHealthService.getLocationHealth(LocationHealthService.java:154) 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation(LocationManagementService.java:639) 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] In order to prevent enrichLocation(Location) 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] from throwing NullPointerException, add constructors or factory 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] methods that make it easier to construct fully initialized objects used in 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] enrichLocation(Location). 09:47:28.330 [INFO][pool-9-thread-6][c.d.i.p.w.e] [3/21] See https://diff.blue/R013 to resolve this issue. 09:47:28.332 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 09:47:29.351 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:29.358 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = ","; // Act locationManagementService.findByIcao(icao); } } 09:47:29.358 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass763 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:47:29.399 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:29.405 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = "42"; // Act locationManagementService.findByIcao(icao); } } 09:47:29.405 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass764 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:47:29.447 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:29.454 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = "\\s+"; // Act locationManagementService.findByIcao(icao); } } 09:47:29.454 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass765 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:47:40.165 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.893s, 35.0ms/it 09:47:40.503 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:47:40.513 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:47:40.513 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByIcao() { // Arrange String icao = "Icao"; // Act locationManagementService.findByIcao(icao); } } 09:47:40.514 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass762 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:47:40.514 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:47:40.515 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 09:47:41.392 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:41.394 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:47:41.394 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1074 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:47:41.403 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:41.404 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:47:41.405 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1075 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:47:41.415 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:47:41.416 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:47:41.417 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1076 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:47:43.518 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 2.143s, 6.9ms/it 09:47:43.818 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:47:43.820 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:47:43.820 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:47:43.820 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1073 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:47:43.821 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:47:43.821 [INFO][analyzer-service:TimedExecutor-708][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:48:25.995 [INFO][analyzer-service:TimedExecutor-708][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 2+1 tests+partial tests, 1002/1000 its, 41.773s, 41.7ms/it 09:48:26.653 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 09:48:26.653 [INFO][analyzer-service:TimedExecutor-1007][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] Tests created: 2 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] Partial tests created: 1 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] Reasons for partial tests: 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] R013: No inputs found that don't throw a trivial exception 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] test threw 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] java.lang.NullPointerException 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] at java.util.Objects.requireNonNull(Objects.java:221) 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao(LocationManagementService.java:182) 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] In order to prevent findByIcao(String) 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] from throwing NullPointerException, add constructors or factory 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] methods that make it easier to construct fully initialized objects used in 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] findByIcao(String). 09:48:29.037 [INFO][pool-9-thread-6][c.d.i.p.w.e] [4/21] See https://diff.blue/R013 to resolve this issue. 09:48:29.039 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 09:48:30.437 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:48:30.443 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = "Raw Address"; // Act locationManagementService.findByRawAddress(rawAddress); } } 09:48:30.443 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1384 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:48:30.482 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:48:30.487 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = ","; // Act locationManagementService.findByRawAddress(rawAddress); } } 09:48:30.487 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1385 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:48:30.525 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:48:30.530 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = "42"; // Act locationManagementService.findByRawAddress(rawAddress); } } 09:48:30.531 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1386 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:48:40.929 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 312/333 its, 10.568s, 33.9ms/it 09:48:41.278 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:48:41.283 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:48:41.283 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByRawAddress() { // Arrange String rawAddress = "42 Main St"; // Act locationManagementService.findByRawAddress(rawAddress); } } 09:48:41.283 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1383 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:48:41.283 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:48:41.284 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 09:48:42.188 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:48:42.191 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:48:42.191 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1696 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:48:42.199 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:48:42.200 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:48:42.201 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1697 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:48:42.210 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:48:42.212 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:48:42.212 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1698 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:48:44.198 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 312/333 its, 2.029s, 6.5ms/it 09:48:44.501 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:48:44.503 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:48:44.503 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:48:44.503 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1695 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:48:44.503 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:48:44.503 [INFO][analyzer-service:TimedExecutor-1010][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:49:26.991 [INFO][analyzer-service:TimedExecutor-1010][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 2+1 tests+partial tests, 1002/1000 its, 42.068s, 42.0ms/it 09:49:27.660 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 09:49:27.660 [INFO][analyzer-service:TimedExecutor-1309][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] Tests created: 2 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] Partial tests created: 1 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] Reasons for partial tests: 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] R013: No inputs found that don't throw a trivial exception 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] test threw 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] java.lang.NullPointerException 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] at java.util.Objects.requireNonNull(Objects.java:221) 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress(LocationManagementService.java:202) 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] In order to prevent findByRawAddress(String) 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] from throwing NullPointerException, add constructors or factory 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] methods that make it easier to construct fully initialized objects used in 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] findByRawAddress(String). 09:49:30.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [5/21] See https://diff.blue/R013 to resolve this issue. 09:49:30.329 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 09:49:31.423 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:49:31.428 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = ","; // Act locationManagementService.findByUnit(unit); } } 09:49:31.429 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2007 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:49:31.468 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:49:31.473 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = "42"; // Act locationManagementService.findByUnit(unit); } } 09:49:31.473 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2008 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:49:31.511 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:49:31.516 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = "\\s+"; // Act locationManagementService.findByUnit(unit); } } 09:49:31.516 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2009 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:49:41.832 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.483s, 33.7ms/it 09:49:42.181 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:49:42.188 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:49:42.188 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByUnit() { // Arrange String unit = "Unit"; // Act locationManagementService.findByUnit(unit); } } 09:49:42.188 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2006 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:49:42.188 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:49:42.189 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 09:49:43.057 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:49:43.059 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:49:43.059 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2318 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:49:43.068 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:49:43.070 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:49:43.071 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2319 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:49:43.080 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:49:43.082 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:49:43.082 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2320 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:49:44.999 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.959s, 6.3ms/it 09:49:45.301 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:49:45.303 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:49:45.303 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:49:45.303 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2317 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:49:45.304 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:49:45.306 [INFO][analyzer-service:TimedExecutor-1312][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:50:27.347 [INFO][analyzer-service:TimedExecutor-1312][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 2+1 tests+partial tests, 1002/1000 its, 41.628s, 41.5ms/it 09:50:27.994 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 09:50:27.995 [INFO][analyzer-service:TimedExecutor-1611][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] Tests created: 2 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] Partial tests created: 1 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] Reasons for partial tests: 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] R013: No inputs found that don't throw a trivial exception 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] test threw 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] java.lang.NullPointerException 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] at java.util.Objects.requireNonNull(Objects.java:221) 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit(LocationManagementService.java:192) 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] In order to prevent findByUnit(String) 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] from throwing NullPointerException, add constructors or factory 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] methods that make it easier to construct fully initialized objects used in 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] findByUnit(String). 09:50:32.913 [INFO][pool-9-thread-6][c.d.i.p.w.e] [6/21] See https://diff.blue/R013 to resolve this issue. 09:50:32.915 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 09:50:33.995 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:50:33.999 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = "Location Id"; // Act locationManagementService.getLocation(locationId); } } 09:50:34.000 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2628 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:50:34.035 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:50:34.040 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = ","; // Act locationManagementService.getLocation(locationId); } } 09:50:34.040 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2629 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:50:34.076 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:50:34.081 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = "\\s+"; // Act locationManagementService.getLocation(locationId); } } 09:50:34.081 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2630 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:50:44.162 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.234s, 32.9ms/it 09:50:44.503 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:50:44.508 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:50:44.508 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocation() { // Arrange String locationId = "42"; // Act locationManagementService.getLocation(locationId); } } 09:50:44.508 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2627 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:50:44.509 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:50:44.509 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 09:50:45.382 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:50:45.384 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:50:45.384 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2939 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:50:45.392 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:50:45.394 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:50:45.394 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2940 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:50:45.401 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:50:45.404 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:50:45.404 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2941 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:50:47.142 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.776s, 5.7ms/it 09:50:47.438 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:50:47.439 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:50:47.439 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:50:47.440 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2938 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:50:47.440 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:50:47.440 [INFO][analyzer-service:TimedExecutor-1614][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:51:30.106 [INFO][analyzer-service:TimedExecutor-1614][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 2+1 tests+partial tests, 1002/1000 its, 42.265s, 42.2ms/it 09:51:30.761 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 09:51:30.761 [INFO][analyzer-service:TimedExecutor-1913][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 09:51:33.899 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] Tests created: 2 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] Partial tests created: 1 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] Reasons for partial tests: 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] R013: No inputs found that don't throw a trivial exception 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] test threw 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] java.lang.NullPointerException 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] at java.util.Objects.requireNonNull(Objects.java:221) 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation(LocationManagementService.java:172) 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] In order to prevent getLocation(String) 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] from throwing NullPointerException, add constructors or factory 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] methods that make it easier to construct fully initialized objects used in 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] getLocation(String). 09:51:33.900 [INFO][pool-9-thread-6][c.d.i.p.w.e] [7/21] See https://diff.blue/R013 to resolve this issue. 09:51:33.901 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (it, !fnm)' ================================================================================ 09:51:35.145 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:51:35.155 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = 0; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 09:51:35.155 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3249 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:51:35.191 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:51:35.197 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = -1; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 09:51:35.197 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3250 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:51:35.238 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:51:35.244 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = -2147483648; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 09:51:35.244 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3251 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:51:35.551 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.475s, 26.4ms/it 09:51:35.750 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:51:35.757 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:51:35.758 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCoordinates() { // Arrange int page = 1; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 09:51:35.758 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3248 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:51:35.758 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:51:35.759 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (!it, !fnm)' ================================================================================ 09:51:36.633 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:51:36.635 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:51:36.636 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3265 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:51:36.644 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:51:36.646 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:51:36.646 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3266 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:51:36.654 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:51:36.656 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:51:36.656 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3267 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:51:36.716 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.101s, 5.6ms/it 09:51:36.902 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:51:36.904 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:51:36.904 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:51:36.904 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3264 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:51:36.904 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:51:36.905 [INFO][analyzer-service:TimedExecutor-1916][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:52:19.287 [INFO][analyzer-service:TimedExecutor-1916][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 1+2 tests+partial tests, 1002/1000 its, 41.876s, 41.8ms/it 09:52:19.522 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+2 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 09:52:19.522 [INFO][analyzer-service:TimedExecutor-2211][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (it, !fnm)' ================================================================================ 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] Tests created: 1 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] Partial tests created: 2 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] Reasons for partial tests: 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] R013: No inputs found that don't throw a trivial exception 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] test threw 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] java.lang.NullPointerException 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at us.mycompany.itv.common.model.geo.dto.Coordinates.compareTo(Coordinates.java:23) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at us.mycompany.itv.common.model.geo.dto.Coordinates.compareTo(Coordinates.java:8) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at java.util.TreeMap.compare(TreeMap.java:1291) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at java.util.TreeMap.put(TreeMap.java:536) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at java.util.TreeSet.add(TreeSet.java:255) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at java.util.AbstractCollection.addAll(AbstractCollection.java:352) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at java.util.TreeSet.addAll(TreeSet.java:312) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at java.util.TreeSet.(TreeSet.java:160) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates(LocationManagementService.java:461) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] In order to prevent getLocationCoordinates(Integer, Integer) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] from throwing NullPointerException, add constructors or factory 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] methods that make it easier to construct fully initialized objects used in 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] getLocationCoordinates(Integer, Integer). 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] See https://diff.blue/R013 to resolve this issue. 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] R013: No inputs found that don't throw a trivial exception 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] test threw 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] java.lang.NullPointerException 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates(LocationManagementService.java:461) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] In order to prevent getLocationCoordinates(Integer, Integer) 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] from throwing NullPointerException, add constructors or factory 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] methods that make it easier to construct fully initialized objects used in 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] getLocationCoordinates(Integer, Integer). 09:52:23.390 [INFO][pool-9-thread-6][c.d.i.p.w.e] [8/21] See https://diff.blue/R013 to resolve this issue. 09:52:23.392 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (it, !fnm)' ================================================================================ 09:52:24.869 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:52:24.875 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "Location Id"; // Act locationManagementService.getLocationCounts(locationId); } } 09:52:24.875 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3280 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:52:24.911 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:52:24.916 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = ","; // Act locationManagementService.getLocationCounts(locationId); } } 09:52:24.916 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3281 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:52:24.951 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:52:24.956 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "\\s+"; // Act locationManagementService.getLocationCounts(locationId); } } 09:52:24.956 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3282 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:52:34.767 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 9.970s, 32.1ms/it 09:52:35.109 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:52:35.114 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:52:35.115 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCounts() { // Arrange String locationId = "42"; // Act locationManagementService.getLocationCounts(locationId); } } 09:52:35.115 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3279 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:52:35.115 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:52:35.115 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (!it, !fnm)' ================================================================================ 09:52:35.985 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:52:35.988 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:52:35.988 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3591 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:52:35.996 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:52:35.997 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:52:35.997 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3592 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:52:36.005 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:52:36.006 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:52:36.007 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3593 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:52:37.642 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.671s, 5.4ms/it 09:52:37.936 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:52:37.938 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:52:37.938 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:52:37.938 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3590 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:52:37.938 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:52:37.939 [INFO][analyzer-service:TimedExecutor-2214][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:53:08.848 [INFO][analyzer-service:TimedExecutor-2214][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 506/1000 its, 30.484s, 60.2ms/it 09:53:09.184 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 09:53:09.185 [INFO][analyzer-service:TimedExecutor-2448][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (it, !fnm)' ================================================================================ 09:53:10.127 [INFO][pool-9-thread-6][c.d.i.p.w.e] [9/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts 09:53:10.127 [INFO][pool-9-thread-6][c.d.i.p.w.e] [9/21] Tests created: 1 09:53:10.129 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (it, !fnm)' ================================================================================ 09:53:11.492 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:11.497 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "Location Id"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 09:53:11.497 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3901 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:53:11.530 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:11.535 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = ","; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 09:53:11.535 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3902 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:53:11.570 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:11.574 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "\\s+"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 09:53:11.574 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3903 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:53:12.038 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.614s, 26.7ms/it 09:53:12.362 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:53:12.369 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:53:12.369 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCounts() { // Arrange String locationId = "42"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 09:53:12.369 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3900 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:53:12.370 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:53:12.370 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (!it, !fnm)' ================================================================================ 09:53:13.207 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:13.209 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:53:13.209 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3923 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:53:13.216 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:13.218 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:53:13.218 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3924 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:53:13.225 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:13.226 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:53:13.226 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3925 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:53:13.326 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.133s, 5.8ms/it 09:53:13.631 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:53:13.633 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:53:13.633 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:53:13.633 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3922 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:53:13.633 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:53:13.634 [INFO][analyzer-service:TimedExecutor-2451][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:53:45.059 [INFO][analyzer-service:TimedExecutor-2451][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 506/1000 its, 31.018s, 61.3ms/it 09:53:45.394 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 09:53:45.394 [INFO][analyzer-service:TimedExecutor-2685][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (it, !fnm)' ================================================================================ 09:53:46.587 [INFO][pool-9-thread-6][c.d.i.p.w.e] [10/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts 09:53:46.587 [INFO][pool-9-thread-6][c.d.i.p.w.e] [10/21] Tests created: 1 09:53:46.589 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 09:53:47.512 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:47.517 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test public void testGetLocationsAtPosition() { // Arrange double latitude = 0.5d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 09:53:47.517 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3944 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:53:47.554 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:47.559 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test public void testGetLocationsAtPosition() { // Arrange double latitude = -0.5d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 09:53:47.559 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3945 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:53:47.595 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:47.596 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:53:47.597 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3946 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:53:47.695 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 12/333 its, 0.249s, 20.8ms/it 09:53:48.032 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:53:48.038 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:53:48.038 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationsAtPosition() { // Arrange double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 09:53:48.038 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3943 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:53:48.038 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:53:48.039 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 09:53:48.939 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:48.941 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:53:48.941 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3954 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:53:48.950 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:48.952 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:53:48.952 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3955 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:53:48.959 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:53:48.961 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:53:48.961 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3956 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:53:48.982 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 12/333 its, 0.058s, 4.8ms/it 09:53:49.285 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:53:49.287 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:53:49.287 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:53:49.287 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3953 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:53:49.287 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:53:49.288 [INFO][analyzer-service:TimedExecutor-2688][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:54:34.905 [INFO][analyzer-service:TimedExecutor-2688][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 4+0 new+accumulated tests, 3+1 tests+partial tests, 1002/1000 its, 45.198s, 45.1ms/it 09:54:35.739 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 3+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 4 09:54:35.740 [INFO][analyzer-service:TimedExecutor-3011][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] Tests created: 3 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] Partial tests created: 1 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] Reasons for partial tests: 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] R013: No inputs found that don't throw a trivial exception 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] test threw 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] java.lang.NullPointerException 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] at java.util.Objects.requireNonNull(Objects.java:221) 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition(LocationManagementService.java:423) 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] In order to prevent getLocationsAtPosition(Double, Double) 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] from throwing NullPointerException, add constructors or factory 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] methods that make it easier to construct fully initialized objects used in 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] getLocationsAtPosition(Double, Double). 09:54:40.627 [INFO][pool-9-thread-6][c.d.i.p.w.e] [11/21] See https://diff.blue/R013 to resolve this issue. 09:54:40.629 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (it, !fnm)' ================================================================================ 09:54:41.681 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:54:41.686 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = "Location Id"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 09:54:41.687 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3963 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:54:41.721 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:54:41.726 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = ","; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 09:54:41.726 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3964 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:54:41.758 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:54:41.763 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = "\\s+"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 09:54:41.763 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3965 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:54:42.085 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 21/333 its, 0.467s, 22.2ms/it 09:54:42.426 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:54:42.430 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:54:42.430 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testIsPositionAtLocation() { // Arrange String locationId = "42"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 09:54:42.431 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3962 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:54:42.431 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:54:42.431 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (!it, !fnm)' ================================================================================ 09:54:43.287 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:54:43.289 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:54:43.290 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3980 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:54:43.297 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:54:43.299 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:54:43.299 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3981 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:54:43.306 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:54:43.308 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:54:43.309 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3982 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:54:43.385 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 21/333 its, 0.112s, 5.3ms/it 09:54:43.697 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:54:43.699 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:54:43.699 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:54:43.699 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3979 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:54:43.699 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:54:43.700 [INFO][analyzer-service:TimedExecutor-3014][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:55:22.756 [INFO][analyzer-service:TimedExecutor-3014][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 38.639s, 38.6ms/it 09:55:23.260 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 09:55:23.260 [INFO][analyzer-service:TimedExecutor-3292][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (it, !fnm)' ================================================================================ 09:55:25.784 [INFO][pool-9-thread-6][c.d.i.p.w.e] [12/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation 09:55:25.784 [INFO][pool-9-thread-6][c.d.i.p.w.e] [12/21] Tests created: 2 09:55:25.785 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (it, !fnm)' ================================================================================ 09:55:27.121 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:55:27.126 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = "Location Id"; // Act locationManagementService.locationExists(locationId); } } 09:55:27.126 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3996 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:55:27.160 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:55:27.166 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = ","; // Act locationManagementService.locationExists(locationId); } } 09:55:27.166 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3997 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:55:27.201 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:55:27.205 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = "\\s+"; // Act locationManagementService.locationExists(locationId); } } 09:55:27.205 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3998 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:55:37.135 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.081s, 32.4ms/it 09:55:37.471 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:55:37.475 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:55:37.475 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test @Ignore("TODO: Complete this test") public void testLocationExists() { // Arrange String locationId = "42"; // Act locationManagementService.locationExists(locationId); } } 09:55:37.476 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3995 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:55:37.476 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:55:37.476 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (!it, !fnm)' ================================================================================ 09:55:38.362 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:55:38.365 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:55:38.365 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4307 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:55:38.372 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:55:38.374 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:55:38.374 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4308 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:55:38.382 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:55:38.383 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:55:38.383 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4309 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:55:40.168 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.820s, 5.9ms/it 09:55:40.483 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:55:40.484 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:55:40.485 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:55:40.485 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4306 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:55:40.485 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:55:40.486 [INFO][analyzer-service:TimedExecutor-3295][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:56:19.588 [INFO][analyzer-service:TimedExecutor-3295][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 38.692s, 38.6ms/it 09:56:20.124 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 09:56:20.124 [INFO][analyzer-service:TimedExecutor-3573][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (it, !fnm)' ================================================================================ 09:56:24.904 [INFO][pool-9-thread-6][c.d.i.p.w.e] [13/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists 09:56:24.904 [INFO][pool-9-thread-6][c.d.i.p.w.e] [13/21] Tests created: 2 09:56:24.905 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (it, !fnm)' ================================================================================ 09:56:26.187 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:56:26.195 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = "Item Id"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 09:56:26.195 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4617 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:56:26.231 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:56:26.237 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = ","; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 09:56:26.238 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4618 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:56:26.273 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:56:26.279 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = "\\s+"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 09:56:26.279 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4619 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:56:26.990 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 33/333 its, 0.871s, 26.4ms/it 09:56:27.336 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:56:27.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:56:27.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testProcessItemLocationUpdates() { // Arrange String itemId = "42"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 09:56:27.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4616 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:56:27.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:56:27.341 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (!it, !fnm)' ================================================================================ 09:56:28.209 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:56:28.211 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:56:28.212 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4645 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:56:28.220 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:56:28.222 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:56:28.222 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4646 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:56:28.230 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:56:28.232 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:56:28.232 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4647 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:56:28.382 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 33/333 its, 0.189s, 5.7ms/it 09:56:28.684 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:56:28.685 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:56:28.685 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:56:28.686 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4644 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:56:28.686 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:56:28.686 [INFO][analyzer-service:TimedExecutor-3576][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:57:06.023 [INFO][analyzer-service:TimedExecutor-3576][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 36.910s, 36.8ms/it 09:57:06.548 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 09:57:06.548 [INFO][analyzer-service:TimedExecutor-3860][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (it, !fnm)' ================================================================================ 09:57:09.127 [INFO][pool-9-thread-6][c.d.i.p.w.e] [14/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates 09:57:09.127 [INFO][pool-9-thread-6][c.d.i.p.w.e] [14/21] Tests created: 2 09:57:09.129 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 09:57:10.289 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:10.294 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = "Location Id"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 09:57:10.295 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4672 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:57:10.329 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:10.334 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = ","; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 09:57:10.334 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4673 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:57:10.370 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:10.375 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = "\\s+"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 09:57:10.375 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4674 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:57:10.787 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.570s, 28.5ms/it 09:57:11.142 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:57:11.148 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:57:11.148 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test @Ignore("TODO: Complete this test") public void testRemoveSensorFromLocation() { // Arrange String locationId = "42"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 09:57:11.148 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4671 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:57:11.148 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:57:11.149 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 09:57:12.070 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:12.072 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:57:12.072 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4690 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:57:12.079 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:12.080 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:57:12.080 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4691 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:57:12.087 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:12.088 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:57:12.088 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4692 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:57:12.166 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.108s, 5.4ms/it 09:57:12.479 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:57:12.481 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:57:12.481 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:57:12.481 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4689 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:57:12.481 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:57:12.482 [INFO][analyzer-service:TimedExecutor-3863][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:57:41.851 [INFO][analyzer-service:TimedExecutor-3863][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 1002/1000 its, 28.928s, 28.9ms/it 09:57:42.335 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 09:57:42.336 [INFO][analyzer-service:TimedExecutor-4224][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] Tests created: 1 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] Partial tests created: 1 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] Reasons for partial tests: 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] R013: No inputs found that don't throw a trivial exception 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] Diffblue Cover tried to run the arrange/act section, but the method under 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] test threw 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] java.lang.NullPointerException 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] at us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService.removeSensorRelationship(SensorRelationshipService.java:92) 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.lambda$removeSensorFromLocation$5(LocationManagementService.java:495) 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] at java.util.Optional.ifPresent(Optional.java:183) 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation(LocationManagementService.java:494) 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] In order to prevent removeSensorFromLocation(String, String) 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] from throwing NullPointerException, add constructors or factory 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] methods that make it easier to construct fully initialized objects used in 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] removeSensorFromLocation(String, String). 09:57:45.013 [INFO][pool-9-thread-6][c.d.i.p.w.e] [15/21] See https://diff.blue/R013 to resolve this issue. 09:57:45.014 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 09:57:45.952 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:45.957 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.saveLocation(location); } } 09:57:45.957 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4707 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:57:45.991 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:45.999 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.saveLocation(location); } } 09:57:45.999 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4708 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:57:46.033 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:46.037 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.saveLocation(location); } } 09:57:46.038 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4709 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:57:47.480 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 1.647s, 32.3ms/it 09:57:47.694 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:57:47.699 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:57:47.699 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testSaveLocation() { // Arrange Location location = new Location(); // Act locationManagementService.saveLocation(location); } } 09:57:47.699 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4706 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:57:47.699 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:57:47.700 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (!it, !fnm)' ================================================================================ 09:57:48.880 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:48.882 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:57:48.883 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4759 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:57:48.890 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:48.892 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:57:48.893 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4760 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:57:48.900 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:57:48.901 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:57:48.901 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4761 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:57:49.164 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.359s, 6.8ms/it 09:57:49.338 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:57:49.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:57:49.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:57:49.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4758 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:57:49.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:57:49.341 [INFO][analyzer-service:TimedExecutor-4227][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:58:00.054 [INFO][analyzer-service:TimedExecutor-4227][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 553/1000 its, 10.275s, 18.6ms/it 09:58:00.240 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, here is the last one: 09:58:00.380 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:58:00.380 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import static org.mockito.Mockito.mock; import org.junit.Ignore; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.crypto.argon2.Argon2PasswordEncoder; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationDistributionService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.notifications.service.UserNotificationManagementService; import us.mycompany.itv.gateway.modules.notifications.service.handlers.ConvoyNotificationHandler; import us.mycompany.itv.gateway.modules.notifications.service.handlers.GeneralNotificationHandler; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.gateway.userauth.data.UserRepository; import us.mycompany.itv.gateway.userauth.model.UserMapperImpl; import us.mycompany.itv.gateway.userauth.service.UserService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationManagementServiceTest { /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testSaveLocation() { // Arrange TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService1, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService3, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService2, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); SensorHealthService sensorHealthService1 = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService4, null, null, null, null, null, null, null, vehicleManagementService1, vehicleCargoService1, null, new TransitStatsManagementService(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService5, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService6, null, personRepository, personMapper, new SensorRelationshipService()); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, itemMovementManagementService2, shipmentManagementService1, locationManagementService1, personManagementService, vehicleManagementService2, unitAssetManagementService1, new SensorManagementService(timeSeriesService7, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService())); SensorNotificationService sensorNotificationService1 = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService( new GeocodingService(null, new WebClientUtils())); MessagingService messagingService1 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService3, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService2, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService3, locationManagementService2, locationItemManagementService, vehicleManagementService4, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService5, null, null, null, locationItemRepository4, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService10, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService1, personManagementService1, new NotificationService(null)); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService1, shipmentManagementService2, unitAssetManagementService2, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); SensorHealthService sensorHealthService2 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService2 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService3 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService11, sensorHealthService2, sensorNotificationService2, itemMovementManagementService5, locationManagementService3, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService13, null, locationUtils4, locationRepository4, locationItemRepository6, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService4, timeSeriesService14, healthEventService1, auditLogSubmissionService1, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(null); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService7, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService16, null, null, null, null, null, null, null, vehicleManagementService8, vehicleCargoService3, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, locationEventManagementService, shipmentManagementService3, unitAssetManagementService3, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService17, null, locationUtils6, locationRepository6, locationItemRepository9, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService6 = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService3, timeSeriesService15, geocodingService, locationUtils5, locationRepository5, locationItemRepository7, locationMapper5, locationItemMapper5, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService2, new NodeSearchService(locationManagementService5, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService1, sensorNotificationService1, itemMovementManagementService4, locationManagementService6, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); SensorHealthService sensorHealthService3 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService3 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); LocationManagementService locationManagementService7 = new LocationManagementService(null, null, null, timeSeriesService19, null, locationUtils7, locationRepository7, locationItemRepository10, locationMapper7, locationItemMapper7, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService18, sensorHealthService3, sensorNotificationService3, itemMovementManagementService6, locationManagementService7, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService20, null, locationUtils8, locationRepository8, locationItemRepository11, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService1 = new LocationHealthService(locationManagementService8, timeSeriesService21, healthEventService2, auditLogSubmissionService2, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); GeoCacheService geoCacheService1 = new GeoCacheService(null); GeocodingService geocodingService1 = new GeocodingService(geoCacheService1, new WebClientUtils()); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService10, locationEventRepository1, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService23, null, null, null, null, null, null, null, vehicleManagementService11, vehicleCargoService4, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService9, locationEventManagementService1, shipmentManagementService4, unitAssetManagementService4, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService24, null, locationUtils10, locationRepository10, locationItemRepository14, locationMapper10, locationItemMapper10, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService4, timeSeriesService22, geocodingService1, locationUtils9, locationRepository9, locationItemRepository12, locationMapper9, locationItemMapper9, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService3, new NodeSearchService(locationManagementService9, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService1 = new EventSubmissionService(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, eventSubmissionService1, new HealthEventMQService(new RabbitTemplate())); UserRepository userRepository = mock(UserRepository.class); UserMapperImpl userMapper = new UserMapperImpl(); UserService userService = new UserService(userRepository, userMapper, new Argon2PasswordEncoder(), null); AuditLogRepository auditLogRepository1 = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService( new AuditLogService(userService, auditLogRepository1, new AuditLogMapperImpl())); MessagingService messagingService3 = new MessagingService(null); ConvoyNotificationHandler convoyNotificationHandler = new ConvoyNotificationHandler(null); GeneralNotificationHandler generalNotificationHandler = new GeneralNotificationHandler(null); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService10, timeSeriesService25, healthEventService3, auditLogSubmissionService3, new NotificationService(new NotificationProcessingService(messagingService3, convoyNotificationHandler, generalNotificationHandler, new NotificationDistributionService(null, null, new UserNotificationManagementService(), null, null, null, null, null, null, null, null)))); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); GeoCacheService geoCacheService2 = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService2, new WebClientUtils()); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); MessagingService messagingService4 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService28, null, locationUtils12, locationRepository12, locationItemRepository16, locationMapper12, locationItemMapper12, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService27, messagingService4, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService7, locationManagementService11, locationItemManagementService4, vehicleManagementService14, vehicleCargoService5, modificationNotificationMessagingService6, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService15, null, null, null, locationItemRepository18, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, null, personRepository2, personMapper2, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService7, locationItemManagementService5, personManagementService2, new NotificationService(null)); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService17, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService5, unitAssetManagementService5, vehicleManagementService16, locationEventRepository2, locationEventMapper, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService8 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService18, vehicleCargoService6, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository4 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper4 = new HealthEventMapperImpl(); HealthEventService healthEventService4 = new HealthEventService(healthEventRepository4, healthEventMapper4, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService8, shipmentManagementService6, healthEventService4, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(null); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils13 = new LocationUtils(); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper13 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper13 = new LocationItemMapperImpl(); LocationManagementService locationManagementService12 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils13, locationRepository13, locationItemRepository19, locationMapper13, locationItemMapper13, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService4 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService12, auditLogSubmissionService4, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService19, vehicleCargoService7, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService9 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService7, unitAssetManagementService6, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils14 = new LocationUtils(); LocationRepository locationRepository14 = mock(LocationRepository.class); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper14 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper14 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService20, null, null, null, locationItemRepository21, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService13 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService8, timeSeriesService36, geocodingService3, locationUtils14, locationRepository14, locationItemRepository20, locationMapper14, locationItemMapper14, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService6, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService22, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService23, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService21, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService7, locationItemRepository22, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService9, locationManagementService13, locationItemManagementService7, vehicleManagementService24, vehicleCargoService9, modificationNotificationMessagingService9, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils15 = new LocationUtils(); LocationRepository locationRepository15 = mock(LocationRepository.class); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper15 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper15 = new LocationItemMapperImpl(); LocationManagementService locationManagementService14 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils15, locationRepository15, locationItemRepository23, locationMapper15, locationItemMapper15, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService14, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService39, null, personRepository3, personMapper3, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService26, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService25, locationEventManagementService5, shipmentManagementService10, unitAssetManagementService8, locationItemRepository24, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( null); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService11, personRepository4, personMapper4, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService10, locationItemManagementService8, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService12, locationEventManagementService3, shipmentManagementService9, unitAssetManagementService9, locationItemRepository25, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); SensorHealthService sensorHealthService4 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService4 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService10 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); LocationUtils locationUtils16 = new LocationUtils(); LocationRepository locationRepository16 = mock(LocationRepository.class); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper16 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper16 = new LocationItemMapperImpl(); LocationManagementService locationManagementService15 = new LocationManagementService(null, null, null, timeSeriesService43, null, locationUtils16, locationRepository16, locationItemRepository26, locationMapper16, locationItemMapper16, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService42, sensorHealthService4, sensorNotificationService4, itemMovementManagementService10, locationManagementService15, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); LocationUtils locationUtils17 = new LocationUtils(); LocationRepository locationRepository17 = mock(LocationRepository.class); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper17 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper17 = new LocationItemMapperImpl(); LocationManagementService locationManagementService16 = new LocationManagementService(null, null, null, timeSeriesService44, null, locationUtils17, locationRepository17, locationItemRepository27, locationMapper17, locationItemMapper17, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); HealthEventRepository healthEventRepository5 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper5 = new HealthEventMapperImpl(); HealthEventService healthEventService5 = new HealthEventService(healthEventRepository5, healthEventMapper5, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService5 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService4 = new LocationHealthService(locationManagementService16, timeSeriesService45, healthEventService5, auditLogSubmissionService5, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService46 = new TimeSeriesService(); GeoCacheService geoCacheService3 = new GeoCacheService(null); GeocodingService geocodingService4 = new GeocodingService(geoCacheService3, new WebClientUtils()); LocationUtils locationUtils18 = new LocationUtils(); LocationRepository locationRepository18 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper18 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper18 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService29, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService47 = new TimeSeriesService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService47, null, null, null, null, null, null, null, vehicleManagementService30, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService28, locationEventManagementService6, shipmentManagementService11, unitAssetManagementService10, locationItemRepository29, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService48 = new TimeSeriesService(); LocationUtils locationUtils19 = new LocationUtils(); LocationRepository locationRepository19 = mock(LocationRepository.class); LocationItemRepository locationItemRepository30 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper19 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper19 = new LocationItemMapperImpl(); LocationManagementService locationManagementService17 = new LocationManagementService(null, null, null, timeSeriesService48, null, locationUtils19, locationRepository19, locationItemRepository30, locationMapper19, locationItemMapper19, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService18 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService12, timeSeriesService46, geocodingService4, locationUtils18, locationRepository18, locationItemRepository28, locationMapper18, locationItemMapper18, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService10, new NodeSearchService(locationManagementService17, nodeItemRepository3, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService19 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService5, timeSeriesService26, geocodingService2, locationUtils11, locationRepository11, locationItemRepository15, locationMapper11, locationItemMapper11, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService9, new NodeSearchService(locationManagementService18, nodeItemRepository4, new NodeItemMapperImpl())); Location location = new Location(); // Act locationManagementService19.saveLocation(location); } } 09:58:00.381 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.NoNonThrowingInputsException: No generated test that does not throw a trivial exception: java.lang.NullPointerException at com.diffblue.fuzztest.a.d.a(SourceFile:400) at com.diffblue.fuzztest.a.d.a(SourceFile:2727) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.NullPointerException: null at us.mycompany.itv.gateway.modules.locations.utils.LocationUtils.generateStaleTimestamp(LocationUtils.java:29) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationDetails(LocationManagementService.java:684) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation(LocationManagementService.java:515) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.diffblue.tir.a.h.a(SourceFile:73) at com.diffblue.tir.a.a.c.a(SourceFile:728) at com.diffblue.tir.a.f.a(SourceFile:414) at com.diffblue.tir.a.f.b(SourceFile:80) at com.diffblue.tir.d.e.a(SourceFile:37) at com.diffblue.tir.a.g.a(SourceFile:219) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted 09:58:00.381 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:58:00.381 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 09:58:00.382 [INFO][analyzer-service:TimedExecutor-4232][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 09:58:01.336 [INFO][pool-9-thread-6][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4706 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] Partial tests created: 1 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] Reasons for partial tests: 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] R026: Failed to create Spring context 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] Attempt to initialize test context failed with 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.util.Assert.state(Assert.java:76) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 09:58:01.336 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] when running class: 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] package us.mycompany.itv.gateway.modules.locations.service; 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] @org.springframework.boot.test.context.SpringBootTest 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] public class DiffblueFakeClass4706 { 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] @org.junit.Test // if JUnit 4 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] @org.junit.jupiter.api.Test // if JUnit 5 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] public void testSpringContextLoads() {} 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] } 09:58:01.337 [INFO][pool-9-thread-6][c.d.i.p.w.e] [16/21] See https://diff.blue/R026 to resolve this issue. 09:58:01.338 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 09:58:02.308 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:02.313 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = "Item Id"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 09:58:02.313 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4812 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:58:02.348 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:02.352 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = ","; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 09:58:02.352 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4813 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:58:02.392 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:02.396 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = "\\s+"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 09:58:02.396 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4814 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:58:02.918 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.679s, 29.5ms/it 09:58:03.254 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:58:03.258 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:58:03.259 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test @Ignore("TODO: Complete this test") public void testSearchLocations() { // Arrange String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 09:58:03.259 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4811 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:58:03.259 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:58:03.259 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 09:58:04.081 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:04.083 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:58:04.083 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4834 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:58:04.089 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:04.091 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:58:04.091 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4835 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:58:04.098 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:04.099 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:58:04.099 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4836 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:58:04.192 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.123s, 5.3ms/it 09:58:04.504 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:58:04.505 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:58:04.505 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:58:04.505 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4833 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:58:04.505 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:58:04.506 [INFO][analyzer-service:TimedExecutor-4235][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:58:35.542 [INFO][analyzer-service:TimedExecutor-4235][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 505/1000 its, 30.555s, 60.5ms/it 09:58:35.877 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 09:58:35.877 [INFO][analyzer-service:TimedExecutor-4468][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 09:58:36.972 [INFO][pool-9-thread-6][c.d.i.p.w.e] [17/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations 09:58:36.972 [INFO][pool-9-thread-6][c.d.i.p.w.e] [17/21] Tests created: 1 09:58:36.974 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (it, !fnm)' ================================================================================ 09:58:38.015 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:38.020 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria("Location URI"); // Act locationManagementService.searchLocations(searchCriteria); } } 09:58:38.020 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4855 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:58:38.052 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:38.055 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = null; // Act locationManagementService.searchLocations(searchCriteria); } } 09:58:38.055 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4856 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:58:38.087 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:38.092 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria(1, 3, "42"); // Act locationManagementService.searchLocations(searchCriteria); } } 09:58:38.092 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4857 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:58:39.029 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 36/333 its, 1.104s, 30.7ms/it 09:58:39.244 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:58:39.248 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:58:39.248 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test @Ignore("TODO: Complete this test") public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria(); // Act locationManagementService.searchLocations(searchCriteria); } } 09:58:39.248 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4854 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:58:39.248 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:58:39.249 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (!it, !fnm)' ================================================================================ 09:58:40.102 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:40.104 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:58:40.104 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4892 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:58:40.112 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:40.114 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:58:40.114 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4893 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:58:40.120 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:58:40.121 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:58:40.122 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4894 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:58:40.313 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 37/333 its, 0.248s, 6.7ms/it 09:58:40.486 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:58:40.488 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:58:40.488 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:58:40.488 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4891 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:58:40.488 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:58:40.488 [INFO][analyzer-service:TimedExecutor-4471][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:59:24.587 [INFO][analyzer-service:TimedExecutor-4471][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 4+0 new+accumulated tests, 4+0 tests+partial tests, 1002/1000 its, 43.682s, 43.6ms/it 09:59:25.450 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 4+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 4 09:59:25.450 [INFO][analyzer-service:TimedExecutor-4800][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (it, !fnm)' ================================================================================ 09:59:31.774 [INFO][pool-9-thread-6][c.d.i.p.w.e] [18/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations 09:59:31.774 [INFO][pool-9-thread-6][c.d.i.p.w.e] [18/21] Tests created: 4 09:59:31.776 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 09:59:33.267 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:33.271 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.updateLocation(location); } } 09:59:33.271 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4929 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:59:33.308 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:33.314 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.updateLocation(location); } } 09:59:33.314 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4930 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:59:33.349 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:33.354 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.updateLocation(location); } } 09:59:33.354 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4931 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:59:34.818 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 1.724s, 33.8ms/it 09:59:35.019 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:59:35.023 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:59:35.023 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocation() { // Arrange Location location = new Location(); // Act locationManagementService.updateLocation(location); } } 09:59:35.023 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4928 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:59:35.023 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:59:35.024 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (!it, !fnm)' ================================================================================ 09:59:35.966 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:35.967 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:59:35.967 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4981 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:59:35.976 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:35.978 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:59:35.979 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4982 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:59:35.985 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:35.987 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:59:35.987 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4983 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:59:36.273 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.404s, 7.6ms/it 09:59:36.454 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:59:36.456 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:59:36.456 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:59:36.457 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4980 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:59:36.457 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:59:36.457 [INFO][analyzer-service:TimedExecutor-4803][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 09:59:47.177 [INFO][analyzer-service:TimedExecutor-4803][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 553/1000 its, 10.294s, 18.6ms/it 09:59:47.356 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, here is the last one: 09:59:47.468 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:59:47.468 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import static org.mockito.Mockito.mock; import org.junit.Ignore; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.crypto.argon2.Argon2PasswordEncoder; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationDistributionService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.notifications.service.UserNotificationManagementService; import us.mycompany.itv.gateway.modules.notifications.service.handlers.ConvoyNotificationHandler; import us.mycompany.itv.gateway.modules.notifications.service.handlers.GeneralNotificationHandler; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.gateway.userauth.data.UserRepository; import us.mycompany.itv.gateway.userauth.model.UserMapperImpl; import us.mycompany.itv.gateway.userauth.service.UserService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationManagementServiceTest { /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocation() { // Arrange TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService1, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService3, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService2, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); SensorHealthService sensorHealthService1 = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService4, null, null, null, null, null, null, null, vehicleManagementService1, vehicleCargoService1, null, new TransitStatsManagementService(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService5, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService6, null, personRepository, personMapper, new SensorRelationshipService()); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, itemMovementManagementService2, shipmentManagementService1, locationManagementService1, personManagementService, vehicleManagementService2, unitAssetManagementService1, new SensorManagementService(timeSeriesService7, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService())); SensorNotificationService sensorNotificationService1 = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService( new GeocodingService(null, new WebClientUtils())); MessagingService messagingService1 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService3, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService2, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService3, locationManagementService2, locationItemManagementService, vehicleManagementService4, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService5, null, null, null, locationItemRepository4, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService10, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService1, personManagementService1, new NotificationService(null)); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService1, shipmentManagementService2, unitAssetManagementService2, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); SensorHealthService sensorHealthService2 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService2 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService3 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService11, sensorHealthService2, sensorNotificationService2, itemMovementManagementService5, locationManagementService3, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService13, null, locationUtils4, locationRepository4, locationItemRepository6, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService4, timeSeriesService14, healthEventService1, auditLogSubmissionService1, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(null); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService7, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService16, null, null, null, null, null, null, null, vehicleManagementService8, vehicleCargoService3, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, locationEventManagementService, shipmentManagementService3, unitAssetManagementService3, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService17, null, locationUtils6, locationRepository6, locationItemRepository9, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService6 = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService3, timeSeriesService15, geocodingService, locationUtils5, locationRepository5, locationItemRepository7, locationMapper5, locationItemMapper5, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService2, new NodeSearchService(locationManagementService5, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService1, sensorNotificationService1, itemMovementManagementService4, locationManagementService6, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); SensorHealthService sensorHealthService3 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService3 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); LocationManagementService locationManagementService7 = new LocationManagementService(null, null, null, timeSeriesService19, null, locationUtils7, locationRepository7, locationItemRepository10, locationMapper7, locationItemMapper7, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService18, sensorHealthService3, sensorNotificationService3, itemMovementManagementService6, locationManagementService7, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService20, null, locationUtils8, locationRepository8, locationItemRepository11, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService1 = new LocationHealthService(locationManagementService8, timeSeriesService21, healthEventService2, auditLogSubmissionService2, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); GeoCacheService geoCacheService1 = new GeoCacheService(null); GeocodingService geocodingService1 = new GeocodingService(geoCacheService1, new WebClientUtils()); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService10, locationEventRepository1, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService23, null, null, null, null, null, null, null, vehicleManagementService11, vehicleCargoService4, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService9, locationEventManagementService1, shipmentManagementService4, unitAssetManagementService4, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService24, null, locationUtils10, locationRepository10, locationItemRepository14, locationMapper10, locationItemMapper10, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService4, timeSeriesService22, geocodingService1, locationUtils9, locationRepository9, locationItemRepository12, locationMapper9, locationItemMapper9, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService3, new NodeSearchService(locationManagementService9, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService1 = new EventSubmissionService(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, eventSubmissionService1, new HealthEventMQService(new RabbitTemplate())); UserRepository userRepository = mock(UserRepository.class); UserMapperImpl userMapper = new UserMapperImpl(); UserService userService = new UserService(userRepository, userMapper, new Argon2PasswordEncoder(), null); AuditLogRepository auditLogRepository1 = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService( new AuditLogService(userService, auditLogRepository1, new AuditLogMapperImpl())); MessagingService messagingService3 = new MessagingService(null); ConvoyNotificationHandler convoyNotificationHandler = new ConvoyNotificationHandler(null); GeneralNotificationHandler generalNotificationHandler = new GeneralNotificationHandler(null); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService10, timeSeriesService25, healthEventService3, auditLogSubmissionService3, new NotificationService(new NotificationProcessingService(messagingService3, convoyNotificationHandler, generalNotificationHandler, new NotificationDistributionService(null, null, new UserNotificationManagementService(), null, null, null, null, null, null, null, null)))); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); GeoCacheService geoCacheService2 = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService2, new WebClientUtils()); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); MessagingService messagingService4 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService28, null, locationUtils12, locationRepository12, locationItemRepository16, locationMapper12, locationItemMapper12, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService27, messagingService4, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService7, locationManagementService11, locationItemManagementService4, vehicleManagementService14, vehicleCargoService5, modificationNotificationMessagingService6, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService15, null, null, null, locationItemRepository18, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, null, personRepository2, personMapper2, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService7, locationItemManagementService5, personManagementService2, new NotificationService(null)); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService17, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService5, unitAssetManagementService5, vehicleManagementService16, locationEventRepository2, locationEventMapper, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService8 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService18, vehicleCargoService6, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository4 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper4 = new HealthEventMapperImpl(); HealthEventService healthEventService4 = new HealthEventService(healthEventRepository4, healthEventMapper4, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService8, shipmentManagementService6, healthEventService4, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(null); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils13 = new LocationUtils(); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper13 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper13 = new LocationItemMapperImpl(); LocationManagementService locationManagementService12 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils13, locationRepository13, locationItemRepository19, locationMapper13, locationItemMapper13, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService4 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService12, auditLogSubmissionService4, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService19, vehicleCargoService7, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService9 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService7, unitAssetManagementService6, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils14 = new LocationUtils(); LocationRepository locationRepository14 = mock(LocationRepository.class); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper14 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper14 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService20, null, null, null, locationItemRepository21, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService13 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService8, timeSeriesService36, geocodingService3, locationUtils14, locationRepository14, locationItemRepository20, locationMapper14, locationItemMapper14, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService6, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService22, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService23, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService21, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService7, locationItemRepository22, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService9, locationManagementService13, locationItemManagementService7, vehicleManagementService24, vehicleCargoService9, modificationNotificationMessagingService9, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils15 = new LocationUtils(); LocationRepository locationRepository15 = mock(LocationRepository.class); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper15 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper15 = new LocationItemMapperImpl(); LocationManagementService locationManagementService14 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils15, locationRepository15, locationItemRepository23, locationMapper15, locationItemMapper15, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService14, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService39, null, personRepository3, personMapper3, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService26, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService25, locationEventManagementService5, shipmentManagementService10, unitAssetManagementService8, locationItemRepository24, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( null); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService11, personRepository4, personMapper4, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService10, locationItemManagementService8, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService12, locationEventManagementService3, shipmentManagementService9, unitAssetManagementService9, locationItemRepository25, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); SensorHealthService sensorHealthService4 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService4 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService10 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); LocationUtils locationUtils16 = new LocationUtils(); LocationRepository locationRepository16 = mock(LocationRepository.class); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper16 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper16 = new LocationItemMapperImpl(); LocationManagementService locationManagementService15 = new LocationManagementService(null, null, null, timeSeriesService43, null, locationUtils16, locationRepository16, locationItemRepository26, locationMapper16, locationItemMapper16, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService42, sensorHealthService4, sensorNotificationService4, itemMovementManagementService10, locationManagementService15, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); LocationUtils locationUtils17 = new LocationUtils(); LocationRepository locationRepository17 = mock(LocationRepository.class); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper17 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper17 = new LocationItemMapperImpl(); LocationManagementService locationManagementService16 = new LocationManagementService(null, null, null, timeSeriesService44, null, locationUtils17, locationRepository17, locationItemRepository27, locationMapper17, locationItemMapper17, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); HealthEventRepository healthEventRepository5 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper5 = new HealthEventMapperImpl(); HealthEventService healthEventService5 = new HealthEventService(healthEventRepository5, healthEventMapper5, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService5 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService4 = new LocationHealthService(locationManagementService16, timeSeriesService45, healthEventService5, auditLogSubmissionService5, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService46 = new TimeSeriesService(); GeoCacheService geoCacheService3 = new GeoCacheService(null); GeocodingService geocodingService4 = new GeocodingService(geoCacheService3, new WebClientUtils()); LocationUtils locationUtils18 = new LocationUtils(); LocationRepository locationRepository18 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper18 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper18 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService29, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService47 = new TimeSeriesService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService47, null, null, null, null, null, null, null, vehicleManagementService30, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService28, locationEventManagementService6, shipmentManagementService11, unitAssetManagementService10, locationItemRepository29, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService48 = new TimeSeriesService(); LocationUtils locationUtils19 = new LocationUtils(); LocationRepository locationRepository19 = mock(LocationRepository.class); LocationItemRepository locationItemRepository30 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper19 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper19 = new LocationItemMapperImpl(); LocationManagementService locationManagementService17 = new LocationManagementService(null, null, null, timeSeriesService48, null, locationUtils19, locationRepository19, locationItemRepository30, locationMapper19, locationItemMapper19, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService18 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService12, timeSeriesService46, geocodingService4, locationUtils18, locationRepository18, locationItemRepository28, locationMapper18, locationItemMapper18, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService10, new NodeSearchService(locationManagementService17, nodeItemRepository3, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService19 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService5, timeSeriesService26, geocodingService2, locationUtils11, locationRepository11, locationItemRepository15, locationMapper11, locationItemMapper11, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService9, new NodeSearchService(locationManagementService18, nodeItemRepository4, new NodeItemMapperImpl())); Location location = new Location(); // Act locationManagementService19.updateLocation(location); } } 09:59:47.468 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.NoNonThrowingInputsException: No generated test that does not throw a trivial exception: java.lang.NullPointerException at com.diffblue.fuzztest.a.d.a(SourceFile:400) at com.diffblue.fuzztest.a.d.a(SourceFile:2727) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.NullPointerException: null at us.mycompany.itv.gateway.modules.locations.utils.LocationUtils.generateStaleTimestamp(LocationUtils.java:29) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationDetails(LocationManagementService.java:684) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation(LocationManagementService.java:540) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.diffblue.tir.a.h.a(SourceFile:73) at com.diffblue.tir.a.a.c.a(SourceFile:728) at com.diffblue.tir.a.f.a(SourceFile:414) at com.diffblue.tir.a.f.b(SourceFile:80) at com.diffblue.tir.d.e.a(SourceFile:37) at com.diffblue.tir.a.g.a(SourceFile:219) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted 09:59:47.468 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:59:47.469 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 09:59:47.469 [INFO][analyzer-service:TimedExecutor-4808][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 09:59:50.326 [INFO][pool-9-thread-6][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4928 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] Partial tests created: 1 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] Reasons for partial tests: 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] R026: Failed to create Spring context 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] Attempt to initialize test context failed with 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.util.Assert.state(Assert.java:76) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] when running class: 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] package us.mycompany.itv.gateway.modules.locations.service; 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] @org.springframework.boot.test.context.SpringBootTest 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 09:59:50.327 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 09:59:50.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] public class DiffblueFakeClass4928 { 09:59:50.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 09:59:50.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] @org.junit.Test // if JUnit 4 09:59:50.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] @org.junit.jupiter.api.Test // if JUnit 5 09:59:50.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] public void testSpringContextLoads() {} 09:59:50.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] } 09:59:50.328 [INFO][pool-9-thread-6][c.d.i.p.w.e] [19/21] See https://diff.blue/R026 to resolve this issue. 09:59:50.330 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (it, !fnm)' ================================================================================ 09:59:51.263 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:51.267 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = "Location Id"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 09:59:51.267 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5034 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:59:51.298 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:51.301 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = ","; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 09:59:51.301 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5035 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:59:51.336 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:51.340 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = "\\s+"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 09:59:51.340 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5036 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:59:51.637 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 17/333 its, 0.442s, 26.0ms/it 09:59:51.967 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 09:59:51.970 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:59:51.970 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocationHealth() { // Arrange String locationId = "42"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 09:59:51.970 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5033 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 09:59:51.970 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:59:51.971 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (!it, !fnm)' ================================================================================ 09:59:52.788 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:52.790 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:59:52.790 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5050 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:59:52.796 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:52.797 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:59:52.797 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5051 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:59:52.802 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 09:59:52.804 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 09:59:52.804 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5052 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:59:52.871 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.094s, 5.2ms/it 09:59:53.173 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 09:59:53.175 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 09:59:53.175 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 09:59:53.175 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5049 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 09:59:53.175 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 09:59:53.175 [INFO][analyzer-service:TimedExecutor-4811][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:00:22.856 [INFO][analyzer-service:TimedExecutor-4811][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 1002/1000 its, 29.272s, 29.2ms/it 10:00:23.332 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 10:00:23.332 [INFO][analyzer-service:TimedExecutor-5173][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (it, !fnm)' ================================================================================ 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] Tests created: 1 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] Partial tests created: 1 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] Reasons for partial tests: 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] R013: No inputs found that don't throw a trivial exception 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] test threw 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] java.lang.NullPointerException 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] at us.mycompany.itv.gateway.modules.locations.utils.LocationUtils.generateStaleTimestamp(LocationUtils.java:29) 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.lambda$updateLocationHealth$7(LocationManagementService.java:566) 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] at java.util.Optional.ifPresent(Optional.java:183) 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth(LocationManagementService.java:564) 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] In order to prevent updateLocationHealth(String, LocationHealth) 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] from throwing NullPointerException, add constructors or factory 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] methods that make it easier to construct fully initialized objects used in 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] updateLocationHealth(String, LocationHealth). 10:00:26.184 [INFO][pool-9-thread-6][c.d.i.p.w.e] [20/21] See https://diff.blue/R013 to resolve this issue. 10:00:26.190 [INFO][pool-9-thread-6][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.:(Lus/mycompany/itv/gateway/modules/sensors/service/SensorManagementService;Lus/mycompany/itv/gateway/modules/locations/service/LocationHealthService;Lus/mycompany/itv/gateway/modules/messaging/service/ModificationNotificationMessagingService;Lus/mycompany/itv/gateway/data/timeseries/service/TimeSeriesService;Lus/mycompany/itv/gateway/modules/geo/service/GeocodingService;Lus/mycompany/itv/gateway/modules/locations/utils/LocationUtils;Lus/mycompany/itv/gateway/modules/locations/data/LocationRepository;Lus/mycompany/itv/gateway/modules/locations/data/LocationItemRepository;Lus/mycompany/itv/gateway/modules/locations/model/LocationMapper;Lus/mycompany/itv/gateway/modules/locations/model/LocationItemMapper;Lus/mycompany/itv/gateway/modules/movements/service/submission/MovementEventSubmissionService;Lus/mycompany/itv/gateway/modules/sensors/service/SensorRelationshipService;Lus/mycompany/itv/gateway/modules/locations/service/LocationItemManagementService;Lus/mycompany/itv/gateway/modules/nodes/service/NodeSearchService;)V: T005: Trivial constructor See https://diff.blue/T005 10:00:26.190 [INFO][pool-9-thread-6][c.d.i.p.w.e] [21/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService. 10:00:26.191 [INFO][pool-9-thread-6][c.d.i.p.w.e] [21/21] T005: Trivial constructor 10:00:26.191 [INFO][pool-9-thread-6][c.d.i.p.w.e] [21/21] See https://diff.blue/T005 10:00:26.193 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/1] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService 10:00:26.193 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/1] Tests created: 32 10:00:26.193 [INFO][pool-9-thread-6][c.d.i.p.w.e] [1/1] Partial tests created: 14 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] Summary: 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] -------- 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] Total: 21 methods 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] 32 tests created for: 18 methods 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] 14 partial tests created for: 13 methods 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] Tested indirectly via other methods: 1 method 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] 1 T005: Trivial constructor 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] No tests created for: 2 methods 10:00:26.194 [INFO][pool-9-thread-6][c.d.i.p.w.e] 2 R026: Failed to create Spring context 10:00:26.553 [INFO][ApplicationImpl pooled thread 891][c.d.i.p.w.e] Will not write a JSON report 10:00:26.553 [INFO][ApplicationImpl pooled thread 891][c.d.i.p.w.e] DIFFBLUE_REPORT_FILE is not set or is not true. Local env value: null, System env value: null 10:00:26.553 [INFO][ApplicationImpl pooled thread 891][c.d.i.p.w.e] License doesn't allow multiple classes 10:00:26.553 [INFO][ApplicationImpl pooled thread 891][c.d.i.p.w.e] License doesn't allow creating report.json 10:01:48.564 [INFO][ApplicationImpl pooled thread 935][c.d.cover.p.a.a] Using Java version: 11.0.14 10:01:48.565 [INFO][ApplicationImpl pooled thread 935][c.d.cover.p.a.a] Detected the presence of the following Java-version-dependent Spring dependencies: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Test | Present | 5.3.22 | 10:01:48.654 [INFO][ApplicationImpl pooled thread 935][c.d.cover.p.a.a] Detected the following dependency's presence and version: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Hamcrest 1 | Not Present | | | Hamcrest 2 | Present | 2.2 | | JSR107 API and SPI (Cache) | Not Present | | | Java Servlet API | Present | | | JUnit Jupiter | Present | 5.8.2 | | JUnit | Present | 3.8.1 | | JUnit Platform Engine | Present | 1.8.2 | | JUnit Platform Launcher | Not Present | | | Mockito | Present | 4.5.1 | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Web | Present | 5.3.22 | | Spring WebMVC | Present | 5.3.22 | | Spring Security Config | Present | 5.7.3 | | Spring Test | Present | 5.3.22 | 10:01:49.035 [INFO][pool-9-thread-7][c.d.i.p.w.e] Found 9 callable methods in 1 class 10:01:49.044 [INFO][pool-9-thread-7][c.d.cover.b.b.b] 10:01:49.044 [INFO][pool-9-thread-7][c.d.cover.b.b.b] Creating tests: 10:01:49.044 [INFO][pool-9-thread-7][c.d.cover.b.b.b] --------------- 10:01:49.044 [INFO][pool-9-thread-7][c.d.cover.b.b.b] ================================================================================ = Starting analysis for class 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService' ================================================================================ 10:01:49.045 [INFO][pool-9-thread-7][c.d.cover.b.b.b] Filtering out non-testable methods... 10:01:55.092 [INFO][pool-9-thread-7][c.d.cover.b.b.b] Filtering of methods complete. Creating analysis request 10:01:55.092 [INFO][pool-9-thread-7][c.d.c.service.c] Attempting to get service client, retry 1. 10:01:55.093 [INFO][pool-9-thread-7][c.d.c.service.c] Starting monitoring server. 10:01:55.128 [INFO][pool-9-thread-7][c.d.c.service.c] Monitoring server listening on localhost/127.0.0.1:64902 10:01:55.129 [INFO][pool-9-thread-7][c.d.c.service.c] Starting analyzer server process... 10:01:55.129 [INFO][pool-9-thread-7][c.d.c.service.c] Server command-line: C:\Users\ibcol\.jdks\azul-11.0.14.1\bin\java.exe -XX:+IgnoreUnrecognizedVMOptions -Xms128m -Xmx750m -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Xmx16384m -Dide.no.platform.update=true -Dtoolbox.notification.token=wP3i9vqv0vJMrO9tYHANKdGiMrFcq98SOhkmwHGCMwQ= -Dtoolbox.notification.portFile=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.vmoptions.port -Dsplash=true -Dide.native.launcher=true -ea -javaagent:C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar -Dlogback.configurationFile=C:\Users\ibcol\AppData\Local\Temp\diffblue\config\logback-remote-service.xml -Dcom.diffblue.springIsolationJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-isolation-layer-2022.09.01.jar -Dcover.jar.path=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcom.diffblue.assertionSuggestionJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcover.main.class=com.diffblue.cover.service.analyzer.Main -jar C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar --service-lifespan 1800 --monitoring-service-port 64902 --debug-log 10:01:55.131 [INFO][pool-9-thread-7][c.d.c.service.c] Server started. Waiting up to 300 seconds for a connection to be established... 10:01:55.720 [INFO][nullmain][c.d.c.s.a.a.b] Starting new remote monitor client 10:01:56.797 [INFO][analyzer-service:main][c.d.c.s.a.a.b] Attempting to start remote server. 10:01:57.066 [INFO][analyzer-service:main][c.d.c.s.a.a.a] Server started, listening on localhost/127.0.0.1:64946 10:01:57.136 [INFO][pool-9-thread-7][c.d.c.service.c] Expect analyzer service to be listening on port 64946. 10:01:57.195 [INFO][pool-9-thread-7][c.d.c.service.c] Started analyzer service and client retrieved. 10:01:58.872 [INFO][pool-9-thread-7][c.d.cover.b.b.e] Configuration: Dummy analysis engine: false Module: foobar-webapp Classpath: C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\test-classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-libs\target\classes;C:\Users\ibcol\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\ibcol\.m2\repository\com\offbytwo\ulid\ulid\0.1.0\ulid-0.1.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.13.3\jackson-dataformat-xml-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\codehaus\woodstox\stax2-api\4.2.1\stax2-api-4.2.1.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\woodstox\woodstox-core\6.2.7\woodstox-core-6.2.7.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;C:\Users\ibcol\.m2\repository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\geo\0.7.6\geo-0.7.6.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\grumpy-core\0.2.2\grumpy-core-0.2.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;C:\Users\ibcol\.m2\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\Users\ibcol\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ibcol\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\ibcol\.m2\repository\org\hibernate\validator\hibernate-validator\6.2.4.Final\hibernate-validator-6.2.4.Final.jar;C:\Users\ibcol\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.70\bcpkix-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.70\bcprov-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcutil-jdk15on\1.70\bcutil-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-test\5.3.22\spring-test-5.3.22.jar;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-mq\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-tasks\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-cache\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-channels\target\classes;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.7.3\spring-boot-configuration-processor-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-jdbc\2.7.0\spring-session-jdbc-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-core\2.7.0\spring-session-core-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jcl\5.3.22\spring-jcl-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jdbc\5.3.22\spring-jdbc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.7.3\spring-boot-starter-data-jpa-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.7.3\spring-boot-starter-aop-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.7.3\spring-boot-starter-jdbc-2.7.3.jar;C:\Users\ibcol\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-core\5.6.10.Final\hibernate-core-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy\1.12.13\byte-buddy-1.12.13.jar;C:\Users\ibcol\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\ibcol\.m2\repository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;C:\Users\ibcol\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;C:\Users\ibcol\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;C:\Users\ibcol\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-jpa\2.7.2\spring-data-jpa-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-commons\2.7.2\spring-data-commons-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-orm\5.3.22\spring-orm-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aspects\5.3.22\spring-aspects-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-spatial\5.6.10.Final\hibernate-spatial-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;C:\Users\ibcol\.m2\repository\org\geolatte\geolatte-geom\1.8.2\geolatte-geom-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\locationtech\jts\jts-core\1.18.2\jts-core-1.18.2.jar;C:\Users\ibcol\.m2\repository\com\vladmihalcea\hibernate-types-52\2.16.3\hibernate-types-52-2.16.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.13.3\jackson-module-jaxb-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;C:\Users\ibcol\.m2\repository\org\postgresql\postgresql\42.3.6\postgresql-42.3.6.jar;C:\Users\ibcol\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-jdbc\2021.1.0\postgis-jdbc-2021.1.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-geometry\2021.1.0\postgis-geometry-2021.1.0.jar;C:\Users\ibcol\.m2\repository\org\flywaydb\flyway-core\8.5.13\flyway-core-8.5.13.jar;C:\Users\ibcol\.m2\repository\org\influxdb\influxdb-java\2.22\influxdb-java-2.22.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\retrofit\2.9.0\retrofit-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\converter-moshi\2.9.0\converter-moshi-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\moshi\moshi\1.8.0\moshi-1.8.0.jar;C:\Users\ibcol\.m2\repository\org\msgpack\msgpack-core\0.9.0\msgpack-core-0.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\logging-interceptor\4.9.3\logging-interceptor-4.9.3.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context\5.3.22\spring-context-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aop\5.3.22\spring-aop-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-beans\5.3.22\spring-beans-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-core\5.3.22\spring-core-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-expression\5.3.22\spring-expression-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter\2.7.3\spring-boot-starter-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot\2.7.3\spring-boot-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.7.3\spring-boot-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.7.3\spring-boot-starter-logging-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;C:\Users\ibcol\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.7.3\spring-boot-starter-web-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.7.3\spring-boot-starter-json-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.7.3\spring-boot-starter-tomcat-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.65\tomcat-embed-core-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.65\tomcat-embed-websocket-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-web\5.3.22\spring-web-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webmvc\5.3.22\spring-webmvc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-webflux\2.7.3\spring-boot-starter-webflux-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-reactor-netty\2.7.3\spring-boot-starter-reactor-netty-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-http\1.0.22\reactor-netty-http-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http\4.1.79.Final\netty-codec-http-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http2\4.1.79.Final\netty-codec-http2-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns\4.1.79.Final\netty-resolver-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-dns\4.1.79.Final\netty-codec-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-native-macos\4.1.79.Final\netty-resolver-dns-native-macos-4.1.79.Final-osx-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-classes-macos\4.1.79.Final\netty-resolver-dns-classes-macos-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-epoll\4.1.79.Final\netty-transport-native-epoll-4.1.79.Final-linux-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-classes-epoll\4.1.79.Final\netty-transport-classes-epoll-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-core\1.0.22\reactor-netty-core-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler-proxy\4.1.79.Final\netty-handler-proxy-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-socks\4.1.79.Final\netty-codec-socks-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webflux\5.3.22\spring-webflux-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\reactor-core\3.4.22\reactor-core-3.4.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.7.3\spring-boot-starter-validation-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.65\tomcat-embed-el-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-cache\2.7.3\spring-boot-starter-cache-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context-support\5.3.22\spring-context-support-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-redis\2.7.3\spring-boot-starter-data-redis-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-redis\2.7.2\spring-data-redis-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-keyvalue\2.7.2\spring-data-keyvalue-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-oxm\5.3.22\spring-oxm-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\lettuce\lettuce-core\6.1.9.RELEASE\lettuce-core-6.1.9.RELEASE.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-common\4.1.79.Final\netty-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler\4.1.79.Final\netty-handler-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver\4.1.79.Final\netty-resolver-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-buffer\4.1.79.Final\netty-buffer-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.79.Final\netty-transport-native-unix-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec\4.1.79.Final\netty-codec-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport\4.1.79.Final\netty-transport-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr-spring-boot-starter\5.1.6\jobrunr-spring-boot-starter-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr\5.1.6\jobrunr-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\ow2\asm\asm\9.3\asm-9.3.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot-starter\3.0.4\jasypt-spring-boot-starter-3.0.4.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot\3.0.4\jasypt-spring-boot-3.0.4.jar;C:\Users\ibcol\.m2\repository\org\jasypt\jasypt\1.9.3\jasypt-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.7.3\spring-boot-starter-thymeleaf-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf-spring5\3.0.15.RELEASE\thymeleaf-spring5-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf\3.0.15.RELEASE\thymeleaf-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-websocket\2.7.3\spring-boot-starter-websocket-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-messaging\5.3.22\spring-messaging-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-websocket\5.3.22\spring-websocket-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-springsecurity5\3.0.4.RELEASE\thymeleaf-extras-springsecurity5-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\com\google\guava\guava\31.1-jre\guava-31.1-jre.jar;C:\Users\ibcol\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\ibcol\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\ibcol\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\ibcol\.m2\repository\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;C:\Users\ibcol\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-pdf\9.1.22\flying-saucer-pdf-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\lowagie\itext\2.1.7\itext-2.1.7.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-core\9.1.22\flying-saucer-core-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\core\3.5.0\core-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\javase\3.5.0\javase-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\beust\jcommander\1.82\jcommander-1.82.jar;C:\Users\ibcol\.m2\repository\com\github\jai-imageio\jai-imageio-core\1.4.0\jai-imageio-core-1.4.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.7.3\spring-boot-starter-security-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-config\5.7.3\spring-security-config-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-web\5.7.3\spring-security-web-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.7.3\spring-boot-starter-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.3\spring-boot-actuator-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator\2.7.3\spring-boot-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\micrometer\micrometer-core\1.9.3\micrometer-core-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;C:\Users\ibcol\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-core\1.5.1\jgrapht-core-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\jheaps\jheaps\0.13\jheaps-0.13.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-io\1.5.1\jgrapht-io-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\antlr\antlr4-runtime\4.8-1\antlr4-runtime-4.8-1.jar;C:\Users\ibcol\.m2\repository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;C:\Users\ibcol\.m2\repository\org\mapstruct\mapstruct\1.5.2.Final\mapstruct-1.5.2.Final.jar;C:\Users\ibcol\.m2\repository\io\jenetics\jpx\2.3.0\jpx-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\hashids\hashids\1.0.3\hashids-1.0.3.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-ui\1.6.9\springdoc-openapi-ui-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-webmvc-core\1.6.9\springdoc-openapi-webmvc-core-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-common\1.6.9\springdoc-openapi-common-1.6.9.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-core\2.2.0\swagger-core-2.2.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.13.3\jackson-dataformat-yaml-2.13.3.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-annotations\2.2.0\swagger-annotations-2.2.0.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-models\2.2.0\swagger-models-2.2.0.jar;C:\Users\ibcol\.m2\repository\org\webjars\swagger-ui\4.11.1\swagger-ui-4.11.1.jar;C:\Users\ibcol\.m2\repository\org\webjars\webjars-locator-core\0.50\webjars-locator-core-0.50.jar;C:\Users\ibcol\.m2\repository\io\github\classgraph\classgraph\4.8.147\classgraph-4.8.147.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jms\5.3.22\spring-jms-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-tx\5.3.22\spring-tx-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core\3.18.2\camel-core-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-engine\3.18.2\camel-core-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-api\3.18.2\camel-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base-engine\3.18.2\camel-base-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base\3.18.2\camel-base-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-reifier\3.18.2\camel-core-reifier-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-processor\3.18.2\camel-core-processor-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-management-api\3.18.2\camel-management-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util\3.18.2\camel-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-languages\3.18.2\camel-core-languages-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-model\3.18.2\camel-core-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-bean\3.18.2\camel-bean-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-browse\3.18.2\camel-browse-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cluster\3.18.2\camel-cluster-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-controlbus\3.18.2\camel-controlbus-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataformat\3.18.2\camel-dataformat-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataset\3.18.2\camel-dataset-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-direct\3.18.2\camel-direct-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-directvm\3.18.2\camel-directvm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-file\3.18.2\camel-file-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-health\3.18.2\camel-health-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-language\3.18.2\camel-language-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-log\3.18.2\camel-log-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-mock\3.18.2\camel-mock-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-ref\3.18.2\camel-ref-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rest\3.18.2\camel-rest-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-tooling-model\3.18.2\camel-tooling-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-saga\3.18.2\camel-saga-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-scheduler\3.18.2\camel-scheduler-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-seda\3.18.2\camel-seda-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-stub\3.18.2\camel-stub-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-timer\3.18.2\camel-timer-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-validator\3.18.2\camel-validator-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-vm\3.18.2\camel-vm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xpath\3.18.2\camel-xpath-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xslt\3.18.2\camel-xslt-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb\3.18.2\camel-xml-jaxb-3.18.2.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-core\2.3.0\jaxb-core-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxp\3.18.2\camel-xml-jaxp-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-io-util\3.18.2\camel-xml-io-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-jms\3.18.2\camel-jms-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-support\3.18.2\camel-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring\3.18.2\camel-spring-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\geronimo\specs\geronimo-jms_2.0_spec\1.0-alpha-2\geronimo-jms_2.0_spec-1.0-alpha-2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rabbitmq\3.18.2\camel-rabbitmq-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-pool2\2.11.1\commons-pool2-2.11.1.jar;C:\Users\ibcol\.m2\repository\com\rabbitmq\amqp-client\5.14.2\amqp-client-5.14.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-amqp\2.7.3\spring-boot-starter-amqp-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-rabbit\2.4.6\spring-rabbit-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-amqp\2.4.6\spring-amqp-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\retry\spring-retry\1.3.3\spring-retry-1.3.3.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot-starter\3.18.2\camel-spring-boot-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot\3.18.2\camel-spring-boot-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-main\3.18.2\camel-spring-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-main\3.18.2\camel-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util-json\3.18.2\camel-util-json-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb-dsl\3.18.2\camel-xml-jaxb-dsl-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dsl-support\3.18.2\camel-dsl-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-xml\3.18.2\camel-spring-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-xml\3.18.2\camel-core-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cloud\3.18.2\camel-cloud-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-core-starter\3.18.2\camel-core-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-bean-starter\3.18.2\camel-bean-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-browse-starter\3.18.2\camel-browse-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-controlbus-starter\3.18.2\camel-controlbus-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataformat-starter\3.18.2\camel-dataformat-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataset-starter\3.18.2\camel-dataset-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-direct-starter\3.18.2\camel-direct-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-directvm-starter\3.18.2\camel-directvm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-file-starter\3.18.2\camel-file-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-language-starter\3.18.2\camel-language-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-log-starter\3.18.2\camel-log-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-mock-starter\3.18.2\camel-mock-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-ref-starter\3.18.2\camel-ref-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-rest-starter\3.18.2\camel-rest-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-saga-starter\3.18.2\camel-saga-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-scheduler-starter\3.18.2\camel-scheduler-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-seda-starter\3.18.2\camel-seda-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-stub-starter\3.18.2\camel-stub-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-timer-starter\3.18.2\camel-timer-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-validator-starter\3.18.2\camel-validator-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-vm-starter\3.18.2\camel-vm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xpath-starter\3.18.2\camel-xpath-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xslt-starter\3.18.2\camel-xslt-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xml-jaxp-starter\3.18.2\camel-xml-jaxp-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\yaml\snakeyaml\1.32\snakeyaml-1.32.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-reactive-streams-starter\3.18.2\camel-reactive-streams-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-reactive-streams\3.18.2\camel-reactive-streams-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;C:\Users\ibcol\.m2\repository\com\h2database\h2\1.4.197\h2-1.4.197.jar;C:\Users\ibcol\.m2\repository\com\univocity\univocity-parsers\2.9.1\univocity-parsers-2.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;C:\Users\ibcol\.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\ibcol\.m2\repository\org\ddogleg\ddogleg\0.21\ddogleg-0.21.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-core\0.41\ejml-core-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fdense\0.41\ejml-fdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-ddense\0.41\ejml-ddense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-simple\0.41\ejml-simple-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-cdense\0.41\ejml-cdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-zdense\0.41\ejml-zdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fsparse\0.41\ejml-fsparse-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-dsparse\0.41\ejml-dsparse-0.41.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.13.3\jackson-datatype-joda-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-csv\2.13.3\jackson-dataformat-csv-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;C:\Users\ibcol\.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.7.3\spring-boot-starter-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test\2.7.3\spring-boot-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.7.3\spring-boot-test-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\com\jayway\jsonpath\json-path\2.7.0\json-path-2.7.0.jar;C:\Users\ibcol\.m2\repository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\org\assertj\assertj-core\3.22.0\assertj-core-3.22.0.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-core\4.5.1\mockito-core-4.5.1.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy-agent\1.12.13\byte-buddy-agent-1.12.13.jar;C:\Users\ibcol\.m2\repository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-junit-jupiter\4.5.1\mockito-junit-jupiter-4.5.1.jar;C:\Users\ibcol\.m2\repository\org\skyscreamer\jsonassert\1.5.1\jsonassert-1.5.1.jar;C:\Users\ibcol\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\ibcol\.m2\repository\org\xmlunit\xmlunit-core\2.9.0\xmlunit-core-2.9.0.jar;C:\Users\ibcol\.m2\repository\joda-time\joda-time\2.10.14\joda-time-2.10.14.jar;C:\Users\ibcol\.m2\repository\de\micromata\jak\JavaAPIforKml\2.2.1\JavaAPIforKml-2.2.1.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2\jaxb-impl-2.2.jar;C:\Users\ibcol\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\ibcol\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2\jaxb-xjc-2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi\5.2.2\poi-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml\5.2.2\poi-ooxml-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml-lite\5.2.2\poi-ooxml-lite-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\xmlbeans\xmlbeans\5.0.3\xmlbeans-5.0.3.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-compress\1.21\commons-compress-1.21.jar;C:\Users\ibcol\.m2\repository\com\github\virtuald\curvesapi\1.07\curvesapi-1.07.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\testcontainers\1.16.3\testcontainers-1.16.3.jar;C:\Users\ibcol\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest-core\2.2\hamcrest-core-2.2.jar;C:\Users\ibcol\.m2\repository\org\rnorth\duct-tape\duct-tape\1.0.8\duct-tape-1.0.8.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\annotations\17.0.0\annotations-17.0.0.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-api\3.2.12\docker-java-api-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport-zerodep\3.2.12\docker-java-transport-zerodep-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport\3.2.12\docker-java-transport-3.2.12.jar;C:\Users\ibcol\.m2\repository\net\java\dev\jna\jna\5.8.0\jna-5.8.0.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\postgresql\1.16.3\postgresql-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\jdbc\1.16.3\jdbc-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\database-commons\1.16.3\database-commons-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\influxdb\1.17.3\influxdb-1.17.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\junit-jupiter\1.16.3\junit-jupiter-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;C:\Users\ibcol\.m2\repository\io\xlate\staedi\1.19.0\staedi-1.19.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-test\5.1.6.RELEASE\spring-security-test-5.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-core\5.7.3\spring-security-core-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-crypto\5.7.3\spring-security-crypto-5.7.3.jar;C:\Users\ibcol\.m2\repository\com\openpojo\openpojo\0.9.1\openpojo-0.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-text\1.9\commons-text-1.9.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar Index: C:\Users\ibcol\.diffblue\index\foobar-services-c22b7d605935b60729b0ced5056a4582af15cd318e5793d8aae56725440673f9 Iterations: 1000 StopOnFirstSuccess: false MockingPrefixes: [] MockStaticClassNames: [] MockInputObjects: true SpringIntegrationTests: true PerMethodSoftTimeout: PT20S PerMethodHardTimeout: PT30M SpringStartupTimeout: PT10M ReplayTrace: null ActiveSpringProfiles: [] ConfigurationClasses: [] CoverAllEnums: false DisableSecurityPolicy: false 10:02:00.268 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.addItemToLocation:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/util/Date;)Lus/mycompany/itv/common/model/locations/LocationItem;' using 'SCm (it, !fnm)' ================================================================================ 10:02:22.749 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:23.104 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#addItemToLocation(String, String, ItemType, Date)} */ @Test public void testAddItemToLocation() { // Arrange String locationId = "Location Id"; String itemId = "42"; ItemType type = ItemType.ASSET; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.addItemToLocation(locationId, itemId, type, timestamp); } } 10:02:23.105 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:23.181 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:23.195 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#addItemToLocation(String, String, ItemType, Date)} */ @Test public void testAddItemToLocation() { // Arrange String locationId = "us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService"; String itemId = "42"; ItemType type = ItemType.ASSET; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.addItemToLocation(locationId, itemId, type, timestamp); } } 10:02:23.196 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:23.252 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:23.266 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#addItemToLocation(String, String, ItemType, Date)} */ @Test public void testAddItemToLocation() { // Arrange String locationId = ""; String itemId = "42"; ItemType type = ItemType.ASSET; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.addItemToLocation(locationId, itemId, type, timestamp); } } 10:02:23.266 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:26.414 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 101/333 its, 3.808s, 37.7ms/it 10:02:27.099 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:02:27.115 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:02:27.116 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#addItemToLocation(String, String, ItemType, Date)} */ @Test @Ignore("TODO: Complete this test") public void testAddItemToLocation() { // Arrange ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); String locationId = "42"; String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationItemManagementService.addItemToLocation(locationId, itemId, type, timestamp); } } 10:02:27.116 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:27.117 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:02:27.118 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.addItemToLocation:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/util/Date;)Lus/mycompany/itv/common/model/locations/LocationItem;' using 'SCm (!it, !fnm)' ================================================================================ 10:02:32.602 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 334/333 its, 3.456s, 10.3ms/it 10:02:33.134 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SCm (!it, !fnm)', 2/3, returning all 2 10:02:33.136 [INFO][analyzer-service:TimedExecutor-243][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.addItemToLocation:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/util/Date;)Lus/mycompany/itv/common/model/locations/LocationItem;' using 'SCm (it, !fnm)' ================================================================================ 10:02:35.131 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.addItemToLocation 10:02:35.131 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/9] Tests created: 2 10:02:35.132 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.enrichLocationItem:(Lus/mycompany/itv/common/model/locations/LocationItem;)Lus/mycompany/itv/common/model/locations/EnrichedLocationItem;' using 'SCm (it, !fnm)' ================================================================================ 10:02:36.283 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:36.292 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocationItem; import us.mycompany.itv.common.model.locations.LocationItem; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#enrichLocationItem(LocationItem)} */ @Test public void testEnrichLocationItem() { // Arrange EnrichedLocationItem locationItem = new EnrichedLocationItem(); // Act locationItemManagementService.enrichLocationItem(locationItem); } } 10:02:36.292 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass321 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:36.337 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:36.347 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocationItem; import us.mycompany.itv.common.model.locations.LocationItem; import us.mycompany.itv.common.model.shipments.Shipment; import us.mycompany.itv.common.model.unitassets.UnitAsset; import us.mycompany.itv.common.model.vehicles.Vehicle; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#enrichLocationItem(LocationItem)} */ @Test public void testEnrichLocationItem() { // Arrange UnitAsset unitAsset = new UnitAsset(); Shipment shipment = new Shipment(); EnrichedLocationItem locationItem = new EnrichedLocationItem(unitAsset, shipment, new Vehicle()); // Act locationItemManagementService.enrichLocationItem(locationItem); } } 10:02:36.349 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass322 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:36.451 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:36.464 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocationItem; import us.mycompany.itv.common.model.locations.LocationItem; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#enrichLocationItem(LocationItem)} */ @Test public void testEnrichLocationItem() { // Arrange EnrichedLocationItem locationItem = null; // Act locationItemManagementService.enrichLocationItem(locationItem); } } 10:02:36.465 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass323 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:37.005 [INFO][analyzer-service:TimedExecutor-244][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.918s, 51.0ms/it 10:02:37.220 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:02:37.227 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:02:37.227 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationItem; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#enrichLocationItem(LocationItem)} */ @Test @Ignore("TODO: Complete this test") public void testEnrichLocationItem() { // Arrange LocationItem locationItem = new LocationItem(); // Act locationItemManagementService.enrichLocationItem(locationItem); } } 10:02:37.227 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass320 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:37.228 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:02:37.228 [INFO][analyzer-service:TimedExecutor-245][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.enrichLocationItem:(Lus/mycompany/itv/common/model/locations/LocationItem;)Lus/mycompany/itv/common/model/locations/EnrichedLocationItem;' using 'SCm (!it, !fnm)' ================================================================================ 10:02:42.633 [INFO][analyzer-service:TimedExecutor-245][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 4+0 new+accumulated tests, 4+0 tests+partial tests, 334/333 its, 4.238s, 12.7ms/it 10:02:43.614 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 4+0 tests and partial tests via 'SCm (!it, !fnm)', 2/3, returning all 4 10:02:43.615 [INFO][analyzer-service:TimedExecutor-490][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.enrichLocationItem:(Lus/mycompany/itv/common/model/locations/LocationItem;)Lus/mycompany/itv/common/model/locations/EnrichedLocationItem;' using 'SCm (it, !fnm)' ================================================================================ 10:02:44.719 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.enrichLocationItem 10:02:44.719 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/9] Tests created: 4 10:02:44.721 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getCurrentLocationItem:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:02:46.278 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:46.286 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getCurrentLocationItem(String, String, ItemType)} */ @Test public void testGetCurrentLocationItem() { // Arrange String locationId = "Location Id"; String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationItemManagementService.getCurrentLocationItem(locationId, itemId, type); } } 10:02:46.286 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass580 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:46.335 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:46.342 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getCurrentLocationItem(String, String, ItemType)} */ @Test public void testGetCurrentLocationItem() { // Arrange String locationId = "us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService"; String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationItemManagementService.getCurrentLocationItem(locationId, itemId, type); } } 10:02:46.342 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass581 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:46.395 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:46.405 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getCurrentLocationItem(String, String, ItemType)} */ @Test public void testGetCurrentLocationItem() { // Arrange String locationId = ""; String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationItemManagementService.getCurrentLocationItem(locationId, itemId, type); } } 10:02:46.405 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass582 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:48.164 [INFO][analyzer-service:TimedExecutor-491][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 24/333 its, 1.973s, 82.2ms/it 10:02:48.612 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:02:48.618 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:02:48.618 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getCurrentLocationItem(String, String, ItemType)} */ @Test @Ignore("TODO: Complete this test") public void testGetCurrentLocationItem() { // Arrange String locationId = "42"; String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationItemManagementService.getCurrentLocationItem(locationId, itemId, type); } } 10:02:48.619 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass579 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:48.619 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:02:48.619 [INFO][analyzer-service:TimedExecutor-492][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getCurrentLocationItem:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 10:02:50.902 [INFO][analyzer-service:TimedExecutor-492][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 335/333 its, 1.374s, 4.1ms/it 10:02:51.279 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SCm (!it, !fnm)', 2/3, returning all 1 10:02:51.280 [INFO][analyzer-service:TimedExecutor-667][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getCurrentLocationItem:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:02:51.557 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getCurrentLocationItem 10:02:51.557 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/9] Tests created: 1 10:02:51.559 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getLocationItems:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:02:52.758 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:52.763 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getLocationItems(String, ItemType)} */ @Test public void testGetLocationItems() { // Arrange String itemId = "Item Id"; ItemType type = ItemType.ASSET; // Act locationItemManagementService.getLocationItems(itemId, type); } } 10:02:52.763 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass774 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:52.803 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:52.810 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getLocationItems(String, ItemType)} */ @Test public void testGetLocationItems() { // Arrange String itemId = "us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService"; ItemType type = ItemType.ASSET; // Act locationItemManagementService.getLocationItems(itemId, type); } } 10:02:52.810 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass775 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:52.846 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:52.855 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getLocationItems(String, ItemType)} */ @Test public void testGetLocationItems() { // Arrange String itemId = ""; ItemType type = ItemType.ASSET; // Act locationItemManagementService.getLocationItems(itemId, type); } } 10:02:52.855 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass776 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:53.408 [INFO][analyzer-service:TimedExecutor-668][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 19/333 its, 0.769s, 40.5ms/it 10:02:53.854 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:02:53.865 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:02:53.865 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getLocationItems(String, ItemType)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationItems() { // Arrange String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationItemManagementService.getLocationItems(itemId, type); } } 10:02:53.866 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass773 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:53.867 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:02:53.908 [INFO][analyzer-service:TimedExecutor-669][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getLocationItems:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 10:02:57.023 [INFO][analyzer-service:TimedExecutor-669][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 334/333 its, 1.558s, 4.7ms/it 10:02:57.365 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SCm (!it, !fnm)', 2/3, returning all 1 10:02:57.366 [INFO][analyzer-service:TimedExecutor-880][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getLocationItems:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:02:57.631 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getLocationItems 10:02:57.631 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/9] Tests created: 1 10:02:57.632 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getLocationItems:(Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchCriteria;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:02:59.677 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:59.732 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.model.locations.dto.LocationItemSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getLocationItems(LocationItemSearchCriteria)} */ @Test public void testGetLocationItems() { // Arrange LocationItemSearchCriteria locationItemSearchCriteria = null; locationItemSearchCriteria.setCount(3); LocationItemSearchCriteria locationItemSearchCriteria1 = null; locationItemSearchCriteria1.setHasNotDeparted(true); LocationItemSearchCriteria locationItemSearchCriteria2 = null; locationItemSearchCriteria2.setItemId("42"); LocationItemSearchCriteria locationItemSearchCriteria3 = null; locationItemSearchCriteria3.setLocationId("42"); LocationItemSearchCriteria locationItemSearchCriteria4 = null; locationItemSearchCriteria4.setOrderBy("Order By"); LocationItemSearchCriteria locationItemSearchCriteria5 = null; locationItemSearchCriteria5.setOrderDir("Order Dir"); LocationItemSearchCriteria locationItemSearchCriteria6 = null; locationItemSearchCriteria6.setPage(1); LocationItemSearchCriteria locationItemSearchCriteria7 = null; locationItemSearchCriteria7.setReturnPagination(true); LocationItemSearchCriteria locationItemSearchCriteria8 = null; locationItemSearchCriteria8.setStatus(LocationItemStatus.ACTIVE); LocationItemSearchCriteria locationItemSearchCriteria9 = null; locationItemSearchCriteria9.setType(ItemType.ASSET); LocationItemSearchCriteria searchCriteria = null; // Act locationItemManagementService.getLocationItems(searchCriteria); } } 10:02:59.732 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1001 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:59.826 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:59.838 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.model.locations.dto.LocationItemSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getLocationItems(LocationItemSearchCriteria)} */ @Test public void testGetLocationItems() { // Arrange LocationItemSearchCriteria locationItemSearchCriteria = new LocationItemSearchCriteria(); locationItemSearchCriteria.setCount(1); locationItemSearchCriteria.setHasNotDeparted(true); locationItemSearchCriteria.setItemId("42"); locationItemSearchCriteria.setLocationId("42"); locationItemSearchCriteria.setOrderBy("Order By"); locationItemSearchCriteria.setOrderDir("Order Dir"); locationItemSearchCriteria.setPage(1); locationItemSearchCriteria.setReturnPagination(true); locationItemSearchCriteria.setStatus(LocationItemStatus.ACTIVE); locationItemSearchCriteria.setType(ItemType.ASSET); // Act locationItemManagementService.getLocationItems(locationItemSearchCriteria); } } 10:02:59.838 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1002 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:02:59.891 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:02:59.901 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.model.locations.dto.LocationItemSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getLocationItems(LocationItemSearchCriteria)} */ @Test public void testGetLocationItems() { // Arrange LocationItemSearchCriteria locationItemSearchCriteria = new LocationItemSearchCriteria(); locationItemSearchCriteria.setCount(0); locationItemSearchCriteria.setHasNotDeparted(true); locationItemSearchCriteria.setItemId("42"); locationItemSearchCriteria.setLocationId("42"); locationItemSearchCriteria.setOrderBy("Order By"); locationItemSearchCriteria.setOrderDir("Order Dir"); locationItemSearchCriteria.setPage(1); locationItemSearchCriteria.setReturnPagination(true); locationItemSearchCriteria.setStatus(LocationItemStatus.ACTIVE); locationItemSearchCriteria.setType(ItemType.ASSET); // Act locationItemManagementService.getLocationItems(locationItemSearchCriteria); } } 10:02:59.902 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1003 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:13.550 [INFO][analyzer-service:TimedExecutor-881][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 334/333 its, 14.121s, 42.3ms/it 10:03:13.907 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:03:13.916 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:03:13.916 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.model.locations.dto.LocationItemSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#getLocationItems(LocationItemSearchCriteria)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationItems() { // Arrange LocationItemSearchCriteria locationItemSearchCriteria = new LocationItemSearchCriteria(); locationItemSearchCriteria.setCount(3); locationItemSearchCriteria.setHasNotDeparted(true); locationItemSearchCriteria.setItemId("42"); locationItemSearchCriteria.setLocationId("42"); locationItemSearchCriteria.setOrderBy("Order By"); locationItemSearchCriteria.setOrderDir("Order Dir"); locationItemSearchCriteria.setPage(1); locationItemSearchCriteria.setReturnPagination(true); locationItemSearchCriteria.setStatus(LocationItemStatus.ACTIVE); locationItemSearchCriteria.setType(ItemType.ASSET); // Act locationItemManagementService.getLocationItems(locationItemSearchCriteria); } } 10:03:13.917 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1000 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:13.918 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:03:13.919 [INFO][analyzer-service:TimedExecutor-882][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getLocationItems:(Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchCriteria;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 10:03:16.038 [INFO][analyzer-service:TimedExecutor-882][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 334/333 its, 1.182s, 3.5ms/it 10:03:16.409 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SCm (!it, !fnm)', 2/3, returning all 1 10:03:16.410 [INFO][analyzer-service:TimedExecutor-1094][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getLocationItems:(Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchCriteria;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:03:16.663 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.getLocationItems 10:03:16.663 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/9] Tests created: 1 10:03:16.665 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Lus/mycompany/itv/common/model/locations/LocationEventType;Ljava/util/Date;)V' using 'SCm (it, !fnm)' ================================================================================ 10:03:17.816 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:17.827 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationEventType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#removeItemFromLocation(String, String, ItemType, LocationEventType, Date)} */ @Test public void testRemoveItemFromLocation() { // Arrange String locationId = "Location Id"; String itemId = "42"; ItemType type = ItemType.ASSET; LocationEventType eventType = LocationEventType.ITEM_ARRIVED; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.removeItemFromLocation(locationId, itemId, type, eventType, timestamp); } } 10:03:17.827 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1518 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:17.872 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:17.881 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationEventType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#removeItemFromLocation(String, String, ItemType, LocationEventType, Date)} */ @Test public void testRemoveItemFromLocation() { // Arrange String locationId = "us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService"; String itemId = "42"; ItemType type = ItemType.ASSET; LocationEventType eventType = LocationEventType.ITEM_ARRIVED; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.removeItemFromLocation(locationId, itemId, type, eventType, timestamp); } } 10:03:17.881 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1519 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:17.920 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:17.929 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationEventType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#removeItemFromLocation(String, String, ItemType, LocationEventType, Date)} */ @Test public void testRemoveItemFromLocation() { // Arrange String locationId = ""; String itemId = "42"; ItemType type = ItemType.ASSET; LocationEventType eventType = LocationEventType.ITEM_ARRIVED; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.removeItemFromLocation(locationId, itemId, type, eventType, timestamp); } } 10:03:17.929 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1520 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:22.379 [INFO][analyzer-service:TimedExecutor-1095][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 105/333 its, 4.650s, 44.3ms/it 10:03:22.835 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:03:22.843 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:03:22.843 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationEventType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#removeItemFromLocation(String, String, ItemType, LocationEventType, Date)} */ @Test @Ignore("TODO: Complete this test") public void testRemoveItemFromLocation() { // Arrange ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); String locationId = "42"; String itemId = "42"; ItemType type = ItemType.ASSET; LocationEventType eventType = LocationEventType.ITEM_ARRIVED; // Act locationItemManagementService.removeItemFromLocation(locationId, itemId, type, eventType, timestamp); } } 10:03:22.844 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1517 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:22.844 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:03:22.844 [INFO][analyzer-service:TimedExecutor-1096][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Lus/mycompany/itv/common/model/locations/LocationEventType;Ljava/util/Date;)V' using 'SCm (!it, !fnm)' ================================================================================ 10:03:24.942 [INFO][analyzer-service:TimedExecutor-1096][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 8+0 new+accumulated tests, 5+3 tests+partial tests, 334/333 its, 1.280s, 3.8ms/it 10:03:26.318 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 5+3 tests and partial tests via 'SCm (!it, !fnm)', 2/3, returning all 8 10:03:26.319 [INFO][analyzer-service:TimedExecutor-1313][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation:(Ljava/lang/String;Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Lus/mycompany/itv/common/model/locations/LocationEventType;Ljava/util/Date;)V' using 'SCm (it, !fnm)' ================================================================================ 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] Tests created: 5 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] Partial tests created: 3 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] Reasons for partial tests: 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] R013: No inputs found that don't throw a trivial exception 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] Diffblue Cover tried to run the arrange/act section, but the method under 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] test threw 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] java.lang.NullPointerException 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$deleteLocationItem$2(LocationItemManagementService.java:246) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at java.util.Optional.ifPresent(Optional.java:183) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.deleteLocationItem(LocationItemManagementService.java:242) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$removeItemFromLocation$0(LocationItemManagementService.java:192) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at java.util.ArrayList.forEach(ArrayList.java:1541) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation(LocationItemManagementService.java:191) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] In order to prevent removeItemFromLocation(String, String, ItemType, LocationEventType, Date) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] from throwing NullPointerException, add constructors or factory 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] methods that make it easier to construct fully initialized objects used in 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] removeItemFromLocation(String, String, ItemType, LocationEventType, Date). 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] See https://diff.blue/R013 to resolve this issue. 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] R013: No inputs found that don't throw a trivial exception 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] Diffblue Cover tried to run the arrange/act section, but the method under 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] test threw 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] java.lang.NullPointerException 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$deleteLocationItem$2(LocationItemManagementService.java:245) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at java.util.Optional.ifPresent(Optional.java:183) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.deleteLocationItem(LocationItemManagementService.java:242) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$removeItemFromLocation$0(LocationItemManagementService.java:192) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at java.util.ArrayList.forEach(ArrayList.java:1541) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation(LocationItemManagementService.java:191) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] In order to prevent removeItemFromLocation(String, String, ItemType, LocationEventType, Date) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] from throwing NullPointerException, add constructors or factory 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] methods that make it easier to construct fully initialized objects used in 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] removeItemFromLocation(String, String, ItemType, LocationEventType, Date). 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] See https://diff.blue/R013 to resolve this issue. 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] R013: No inputs found that don't throw a trivial exception 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] Diffblue Cover tried to run the arrange/act section, but the method under 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] test threw 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] java.lang.NullPointerException 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$removeItemFromLocation$0(LocationItemManagementService.java:192) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at java.util.ArrayList.forEach(ArrayList.java:1541) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation(LocationItemManagementService.java:191) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] In order to prevent removeItemFromLocation(String, String, ItemType, LocationEventType, Date) 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] from throwing NullPointerException, add constructors or factory 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] methods that make it easier to construct fully initialized objects used in 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] removeItemFromLocation(String, String, ItemType, LocationEventType, Date). 10:03:30.698 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/9] See https://diff.blue/R013 to resolve this issue. 10:03:30.700 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Lus/mycompany/itv/common/model/locations/LocationEventType;Ljava/util/Date;)V' using 'SCm (it, !fnm)' ================================================================================ 10:03:31.924 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:31.930 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationEventType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#removeItemFromLocations(String, ItemType, LocationEventType, Date)} */ @Test public void testRemoveItemFromLocations() { // Arrange String itemId = "Item Id"; ItemType type = ItemType.ASSET; LocationEventType eventType = LocationEventType.ITEM_ARRIVED; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.removeItemFromLocations(itemId, type, eventType, timestamp); } } 10:03:31.931 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1817 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:31.964 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:31.971 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationEventType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#removeItemFromLocations(String, ItemType, LocationEventType, Date)} */ @Test public void testRemoveItemFromLocations() { // Arrange String itemId = "us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService"; ItemType type = ItemType.ASSET; LocationEventType eventType = LocationEventType.ITEM_ARRIVED; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.removeItemFromLocations(itemId, type, eventType, timestamp); } } 10:03:31.972 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1818 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:32.005 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:32.011 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationEventType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#removeItemFromLocations(String, ItemType, LocationEventType, Date)} */ @Test public void testRemoveItemFromLocations() { // Arrange String itemId = ""; ItemType type = ItemType.ASSET; LocationEventType eventType = LocationEventType.ITEM_ARRIVED; ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); // Act locationItemManagementService.removeItemFromLocations(itemId, type, eventType, timestamp); } } 10:03:32.011 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1819 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:35.284 [INFO][analyzer-service:TimedExecutor-1314][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 100/333 its, 3.424s, 34.2ms/it 10:03:35.718 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:03:35.725 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:03:35.725 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import java.time.LocalDate; import java.time.ZoneId; import java.util.Date; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationEventType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#removeItemFromLocations(String, ItemType, LocationEventType, Date)} */ @Test @Ignore("TODO: Complete this test") public void testRemoveItemFromLocations() { // Arrange ZoneId zone = ZoneId.of("UTC"); Date timestamp = Date.from(LocalDate.of(1970, 1, 1).atStartOfDay().atZone(zone).toInstant()); String itemId = "42"; ItemType type = ItemType.ASSET; LocationEventType eventType = LocationEventType.ITEM_ARRIVED; // Act locationItemManagementService.removeItemFromLocations(itemId, type, eventType, timestamp); } } 10:03:35.726 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1816 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:35.726 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:03:35.727 [INFO][analyzer-service:TimedExecutor-1315][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Lus/mycompany/itv/common/model/locations/LocationEventType;Ljava/util/Date;)V' using 'SCm (!it, !fnm)' ================================================================================ 10:03:37.837 [INFO][analyzer-service:TimedExecutor-1315][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 10+0 new+accumulated tests, 7+3 tests+partial tests, 334/333 its, 1.230s, 3.7ms/it 10:03:40.339 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 7+3 tests and partial tests via 'SCm (!it, !fnm)', 2/3, returning all 10 10:03:40.340 [INFO][analyzer-service:TimedExecutor-1540][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Lus/mycompany/itv/common/model/locations/LocationEventType;Ljava/util/Date;)V' using 'SCm (it, !fnm)' ================================================================================ 10:03:43.994 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocations 10:03:43.994 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] Tests created: 7 10:03:43.994 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] Partial tests created: 3 10:03:43.994 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] Reasons for partial tests: 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] R013: No inputs found that don't throw a trivial exception 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] Diffblue Cover tried to run the arrange/act section, but the method under 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] test threw 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] java.lang.NullPointerException 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$deleteLocationItem$2(LocationItemManagementService.java:246) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at java.util.Optional.ifPresent(Optional.java:183) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.deleteLocationItem(LocationItemManagementService.java:242) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$removeItemFromLocation$0(LocationItemManagementService.java:192) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at java.util.ArrayList.forEach(ArrayList.java:1541) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation(LocationItemManagementService.java:191) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$removeItemFromLocations$1(LocationItemManagementService.java:216) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at java.util.ArrayList.forEach(ArrayList.java:1541) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocations(LocationItemManagementService.java:215) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] In order to prevent removeItemFromLocations(String, ItemType, LocationEventType, Date) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] from throwing NullPointerException, add constructors or factory 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] methods that make it easier to construct fully initialized objects used in 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] removeItemFromLocations(String, ItemType, LocationEventType, Date). 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] See https://diff.blue/R013 to resolve this issue. 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] R013: No inputs found that don't throw a trivial exception 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] Diffblue Cover tried to run the arrange/act section, but the method under 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] test threw 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] java.lang.NullPointerException 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$deleteLocationItem$2(LocationItemManagementService.java:245) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at java.util.Optional.ifPresent(Optional.java:183) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.deleteLocationItem(LocationItemManagementService.java:242) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$removeItemFromLocation$0(LocationItemManagementService.java:192) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at java.util.ArrayList.forEach(ArrayList.java:1541) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocation(LocationItemManagementService.java:191) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$removeItemFromLocations$1(LocationItemManagementService.java:216) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at java.util.ArrayList.forEach(ArrayList.java:1541) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocations(LocationItemManagementService.java:215) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] In order to prevent removeItemFromLocations(String, ItemType, LocationEventType, Date) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] from throwing NullPointerException, add constructors or factory 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] methods that make it easier to construct fully initialized objects used in 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] removeItemFromLocations(String, ItemType, LocationEventType, Date). 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] See https://diff.blue/R013 to resolve this issue. 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] R013: No inputs found that don't throw a trivial exception 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] Diffblue Cover tried to run the arrange/act section, but the method under 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] test threw 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] java.lang.NullPointerException 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.lambda$removeItemFromLocations$1(LocationItemManagementService.java:216) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at java.util.ArrayList.forEach(ArrayList.java:1541) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] at us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.removeItemFromLocations(LocationItemManagementService.java:215) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] In order to prevent removeItemFromLocations(String, ItemType, LocationEventType, Date) 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] from throwing NullPointerException, add constructors or factory 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] methods that make it easier to construct fully initialized objects used in 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] removeItemFromLocations(String, ItemType, LocationEventType, Date). 10:03:43.995 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/9] See https://diff.blue/R013 to resolve this issue. 10:03:43.996 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.searchLocationItems:(Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchResults;' using 'SCm (it, !fnm)' ================================================================================ 10:03:45.142 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:45.154 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.model.locations.dto.LocationItemSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#searchLocationItems(LocationItemSearchCriteria)} */ @Test public void testSearchLocationItems() { // Arrange LocationItemSearchCriteria locationItemSearchCriteria = null; locationItemSearchCriteria.setCount(3); LocationItemSearchCriteria locationItemSearchCriteria1 = null; locationItemSearchCriteria1.setHasNotDeparted(true); LocationItemSearchCriteria locationItemSearchCriteria2 = null; locationItemSearchCriteria2.setItemId("42"); LocationItemSearchCriteria locationItemSearchCriteria3 = null; locationItemSearchCriteria3.setLocationId("42"); LocationItemSearchCriteria locationItemSearchCriteria4 = null; locationItemSearchCriteria4.setOrderBy("Order By"); LocationItemSearchCriteria locationItemSearchCriteria5 = null; locationItemSearchCriteria5.setOrderDir("Order Dir"); LocationItemSearchCriteria locationItemSearchCriteria6 = null; locationItemSearchCriteria6.setPage(1); LocationItemSearchCriteria locationItemSearchCriteria7 = null; locationItemSearchCriteria7.setReturnPagination(true); LocationItemSearchCriteria locationItemSearchCriteria8 = null; locationItemSearchCriteria8.setStatus(LocationItemStatus.ACTIVE); LocationItemSearchCriteria locationItemSearchCriteria9 = null; locationItemSearchCriteria9.setType(ItemType.ASSET); LocationItemSearchCriteria searchCriteria = null; // Act locationItemManagementService.searchLocationItems(searchCriteria); } } 10:03:45.155 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2119 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:45.196 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:45.205 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.model.locations.dto.LocationItemSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#searchLocationItems(LocationItemSearchCriteria)} */ @Test public void testSearchLocationItems() { // Arrange LocationItemSearchCriteria locationItemSearchCriteria = new LocationItemSearchCriteria(); locationItemSearchCriteria.setCount(1); locationItemSearchCriteria.setHasNotDeparted(true); locationItemSearchCriteria.setItemId("42"); locationItemSearchCriteria.setLocationId("42"); locationItemSearchCriteria.setOrderBy("Order By"); locationItemSearchCriteria.setOrderDir("Order Dir"); locationItemSearchCriteria.setPage(1); locationItemSearchCriteria.setReturnPagination(true); locationItemSearchCriteria.setStatus(LocationItemStatus.ACTIVE); locationItemSearchCriteria.setType(ItemType.ASSET); // Act locationItemManagementService.searchLocationItems(locationItemSearchCriteria); } } 10:03:45.205 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2120 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:45.242 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:03:45.252 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.model.locations.dto.LocationItemSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#searchLocationItems(LocationItemSearchCriteria)} */ @Test public void testSearchLocationItems() { // Arrange LocationItemSearchCriteria locationItemSearchCriteria = new LocationItemSearchCriteria(); locationItemSearchCriteria.setCount(0); locationItemSearchCriteria.setHasNotDeparted(true); locationItemSearchCriteria.setItemId("42"); locationItemSearchCriteria.setLocationId("42"); locationItemSearchCriteria.setOrderBy("Order By"); locationItemSearchCriteria.setOrderDir("Order Dir"); locationItemSearchCriteria.setPage(1); locationItemSearchCriteria.setReturnPagination(true); locationItemSearchCriteria.setStatus(LocationItemStatus.ACTIVE); locationItemSearchCriteria.setType(ItemType.ASSET); // Act locationItemManagementService.searchLocationItems(locationItemSearchCriteria); } } 10:03:45.253 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2121 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:57.333 [INFO][analyzer-service:TimedExecutor-1541][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 334/333 its, 12.274s, 36.7ms/it 10:03:57.664 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:03:57.675 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:03:57.675 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; import us.mycompany.itv.common.model.locations.LocationItemStatus; import us.mycompany.itv.common.model.locations.dto.LocationItemSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationItemManagementServiceTest { @Autowired private LocationItemManagementService locationItemManagementService; /** * Method under test: {@link LocationItemManagementService#searchLocationItems(LocationItemSearchCriteria)} */ @Test @Ignore("TODO: Complete this test") public void testSearchLocationItems() { // Arrange LocationItemSearchCriteria locationItemSearchCriteria = new LocationItemSearchCriteria(); locationItemSearchCriteria.setCount(3); locationItemSearchCriteria.setHasNotDeparted(true); locationItemSearchCriteria.setItemId("42"); locationItemSearchCriteria.setLocationId("42"); locationItemSearchCriteria.setOrderBy("Order By"); locationItemSearchCriteria.setOrderDir("Order Dir"); locationItemSearchCriteria.setPage(1); locationItemSearchCriteria.setReturnPagination(true); locationItemSearchCriteria.setStatus(LocationItemStatus.ACTIVE); locationItemSearchCriteria.setType(ItemType.ASSET); // Act locationItemManagementService.searchLocationItems(locationItemSearchCriteria); } } 10:03:57.676 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2118 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:03:57.676 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:03:57.677 [INFO][analyzer-service:TimedExecutor-1542][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.searchLocationItems:(Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchResults;' using 'SCm (!it, !fnm)' ================================================================================ 10:03:59.453 [INFO][analyzer-service:TimedExecutor-1542][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 334/333 its, 1.039s, 3.1ms/it 10:03:59.762 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SCm (!it, !fnm)', 2/3, returning all 1 10:03:59.762 [INFO][analyzer-service:TimedExecutor-1754][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.searchLocationItems:(Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationItemSearchResults;' using 'SCm (it, !fnm)' ================================================================================ 10:04:01.853 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.searchLocationItems 10:04:01.853 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/9] Tests created: 1 10:04:01.862 [INFO][pool-9-thread-7][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService.:(Lus/mycompany/itv/gateway/modules/vehicles/service/VehicleManagementService;Lus/mycompany/itv/gateway/modules/locations/service/LocationEventManagementService;Lus/mycompany/itv/gateway/modules/shipments/service/ShipmentManagementService;Lus/mycompany/itv/gateway/modules/unitassets/service/UnitAssetManagementService;Lus/mycompany/itv/gateway/modules/locations/data/LocationItemRepository;Lus/mycompany/itv/gateway/modules/locations/model/LocationItemMapper;)V: T005: Trivial constructor See https://diff.blue/T005 10:04:01.862 [INFO][pool-9-thread-7][c.d.i.p.w.e] [9/9] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService. 10:04:01.862 [INFO][pool-9-thread-7][c.d.i.p.w.e] [9/9] T005: Trivial constructor 10:04:01.862 [INFO][pool-9-thread-7][c.d.i.p.w.e] [9/9] See https://diff.blue/T005 10:04:01.865 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/1] us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService 10:04:01.865 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/1] Tests created: 22 10:04:01.865 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/1] Partial tests created: 6 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] Summary: 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] -------- 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] Total: 9 methods 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] 22 tests created for: 8 methods 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] 6 partial tests created for: 2 methods 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] Tested indirectly via other methods: 1 method 10:04:01.866 [INFO][pool-9-thread-7][c.d.i.p.w.e] 1 T005: Trivial constructor 10:04:02.322 [INFO][ApplicationImpl pooled thread 935][c.d.i.p.w.e] Will not write a JSON report 10:04:02.322 [INFO][ApplicationImpl pooled thread 935][c.d.i.p.w.e] DIFFBLUE_REPORT_FILE is not set or is not true. Local env value: null, System env value: null 10:04:02.322 [INFO][ApplicationImpl pooled thread 935][c.d.i.p.w.e] License doesn't allow multiple classes 10:04:02.322 [INFO][ApplicationImpl pooled thread 935][c.d.i.p.w.e] License doesn't allow creating report.json 10:04:40.857 [INFO][ApplicationImpl pooled thread 941][c.d.cover.p.a.a] Using Java version: 11.0.14 10:04:40.857 [INFO][ApplicationImpl pooled thread 941][c.d.cover.p.a.a] Detected the presence of the following Java-version-dependent Spring dependencies: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Test | Present | 5.3.22 | 10:04:40.943 [INFO][ApplicationImpl pooled thread 941][c.d.cover.p.a.a] Detected the following dependency's presence and version: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Hamcrest 1 | Not Present | | | Hamcrest 2 | Present | 2.2 | | JSR107 API and SPI (Cache) | Not Present | | | Java Servlet API | Present | | | JUnit Jupiter | Present | 5.8.2 | | JUnit | Present | 3.8.1 | | JUnit Platform Engine | Present | 1.8.2 | | JUnit Platform Launcher | Not Present | | | Mockito | Present | 4.5.1 | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Web | Present | 5.3.22 | | Spring WebMVC | Present | 5.3.22 | | Spring Security Config | Present | 5.7.3 | | Spring Test | Present | 5.3.22 | 10:04:41.282 [INFO][pool-9-thread-7][c.d.i.p.w.e] Found 21 callable methods in 1 class 10:04:41.291 [INFO][pool-9-thread-7][c.d.cover.b.b.b] 10:04:41.291 [INFO][pool-9-thread-7][c.d.cover.b.b.b] Creating tests: 10:04:41.291 [INFO][pool-9-thread-7][c.d.cover.b.b.b] --------------- 10:04:41.291 [INFO][pool-9-thread-7][c.d.cover.b.b.b] ================================================================================ = Starting analysis for class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService' ================================================================================ 10:04:41.292 [INFO][pool-9-thread-7][c.d.cover.b.b.b] Filtering out non-testable methods... 10:04:46.881 [INFO][pool-9-thread-7][c.d.cover.b.b.b] Filtering of methods complete. Creating analysis request 10:04:46.881 [INFO][pool-9-thread-7][c.d.c.service.c] Attempting to get service client, retry 1. 10:04:46.883 [INFO][pool-9-thread-7][c.d.c.service.c] Starting monitoring server. 10:04:46.896 [INFO][pool-9-thread-7][c.d.c.service.c] Monitoring server listening on localhost/127.0.0.1:65025 10:04:46.896 [INFO][pool-9-thread-7][c.d.c.service.c] Starting analyzer server process... 10:04:46.896 [INFO][pool-9-thread-7][c.d.c.service.c] Server command-line: C:\Users\ibcol\.jdks\azul-11.0.14.1\bin\java.exe -XX:+IgnoreUnrecognizedVMOptions -Xms128m -Xmx750m -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Xmx16384m -Dide.no.platform.update=true -Dtoolbox.notification.token=wP3i9vqv0vJMrO9tYHANKdGiMrFcq98SOhkmwHGCMwQ= -Dtoolbox.notification.portFile=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.vmoptions.port -Dsplash=true -Dide.native.launcher=true -ea -javaagent:C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar -Dlogback.configurationFile=C:\Users\ibcol\AppData\Local\Temp\diffblue\config\logback-remote-service.xml -Dcom.diffblue.springIsolationJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-isolation-layer-2022.09.01.jar -Dcover.jar.path=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcom.diffblue.assertionSuggestionJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcover.main.class=com.diffblue.cover.service.analyzer.Main -jar C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar --service-lifespan 1800 --monitoring-service-port 65025 --debug-log 10:04:46.900 [INFO][pool-9-thread-7][c.d.c.service.c] Server started. Waiting up to 300 seconds for a connection to be established... 10:04:47.488 [INFO][nullmain][c.d.c.s.a.a.b] Starting new remote monitor client 10:04:48.549 [INFO][analyzer-service:main][c.d.c.s.a.a.b] Attempting to start remote server. 10:04:48.870 [INFO][analyzer-service:main][c.d.c.s.a.a.a] Server started, listening on localhost/127.0.0.1:65069 10:04:48.901 [INFO][pool-9-thread-7][c.d.c.service.c] Expect analyzer service to be listening on port 65069. 10:04:48.966 [INFO][pool-9-thread-7][c.d.c.service.c] Started analyzer service and client retrieved. 10:04:50.677 [INFO][pool-9-thread-7][c.d.cover.b.b.e] Configuration: Dummy analysis engine: false Module: foobar-webapp Classpath: C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\test-classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-libs\target\classes;C:\Users\ibcol\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\ibcol\.m2\repository\com\offbytwo\ulid\ulid\0.1.0\ulid-0.1.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.13.3\jackson-dataformat-xml-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\codehaus\woodstox\stax2-api\4.2.1\stax2-api-4.2.1.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\woodstox\woodstox-core\6.2.7\woodstox-core-6.2.7.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;C:\Users\ibcol\.m2\repository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\geo\0.7.6\geo-0.7.6.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\grumpy-core\0.2.2\grumpy-core-0.2.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;C:\Users\ibcol\.m2\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\Users\ibcol\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ibcol\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\ibcol\.m2\repository\org\hibernate\validator\hibernate-validator\6.2.4.Final\hibernate-validator-6.2.4.Final.jar;C:\Users\ibcol\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.70\bcpkix-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.70\bcprov-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcutil-jdk15on\1.70\bcutil-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-test\5.3.22\spring-test-5.3.22.jar;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-mq\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-tasks\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-cache\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-channels\target\classes;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.7.3\spring-boot-configuration-processor-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-jdbc\2.7.0\spring-session-jdbc-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-core\2.7.0\spring-session-core-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jcl\5.3.22\spring-jcl-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jdbc\5.3.22\spring-jdbc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.7.3\spring-boot-starter-data-jpa-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.7.3\spring-boot-starter-aop-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.7.3\spring-boot-starter-jdbc-2.7.3.jar;C:\Users\ibcol\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-core\5.6.10.Final\hibernate-core-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy\1.12.13\byte-buddy-1.12.13.jar;C:\Users\ibcol\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\ibcol\.m2\repository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;C:\Users\ibcol\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;C:\Users\ibcol\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;C:\Users\ibcol\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-jpa\2.7.2\spring-data-jpa-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-commons\2.7.2\spring-data-commons-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-orm\5.3.22\spring-orm-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aspects\5.3.22\spring-aspects-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-spatial\5.6.10.Final\hibernate-spatial-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;C:\Users\ibcol\.m2\repository\org\geolatte\geolatte-geom\1.8.2\geolatte-geom-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\locationtech\jts\jts-core\1.18.2\jts-core-1.18.2.jar;C:\Users\ibcol\.m2\repository\com\vladmihalcea\hibernate-types-52\2.16.3\hibernate-types-52-2.16.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.13.3\jackson-module-jaxb-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;C:\Users\ibcol\.m2\repository\org\postgresql\postgresql\42.3.6\postgresql-42.3.6.jar;C:\Users\ibcol\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-jdbc\2021.1.0\postgis-jdbc-2021.1.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-geometry\2021.1.0\postgis-geometry-2021.1.0.jar;C:\Users\ibcol\.m2\repository\org\flywaydb\flyway-core\8.5.13\flyway-core-8.5.13.jar;C:\Users\ibcol\.m2\repository\org\influxdb\influxdb-java\2.22\influxdb-java-2.22.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\retrofit\2.9.0\retrofit-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\converter-moshi\2.9.0\converter-moshi-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\moshi\moshi\1.8.0\moshi-1.8.0.jar;C:\Users\ibcol\.m2\repository\org\msgpack\msgpack-core\0.9.0\msgpack-core-0.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\logging-interceptor\4.9.3\logging-interceptor-4.9.3.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context\5.3.22\spring-context-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aop\5.3.22\spring-aop-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-beans\5.3.22\spring-beans-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-core\5.3.22\spring-core-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-expression\5.3.22\spring-expression-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter\2.7.3\spring-boot-starter-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot\2.7.3\spring-boot-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.7.3\spring-boot-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.7.3\spring-boot-starter-logging-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;C:\Users\ibcol\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.7.3\spring-boot-starter-web-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.7.3\spring-boot-starter-json-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.7.3\spring-boot-starter-tomcat-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.65\tomcat-embed-core-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.65\tomcat-embed-websocket-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-web\5.3.22\spring-web-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webmvc\5.3.22\spring-webmvc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-webflux\2.7.3\spring-boot-starter-webflux-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-reactor-netty\2.7.3\spring-boot-starter-reactor-netty-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-http\1.0.22\reactor-netty-http-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http\4.1.79.Final\netty-codec-http-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http2\4.1.79.Final\netty-codec-http2-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns\4.1.79.Final\netty-resolver-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-dns\4.1.79.Final\netty-codec-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-native-macos\4.1.79.Final\netty-resolver-dns-native-macos-4.1.79.Final-osx-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-classes-macos\4.1.79.Final\netty-resolver-dns-classes-macos-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-epoll\4.1.79.Final\netty-transport-native-epoll-4.1.79.Final-linux-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-classes-epoll\4.1.79.Final\netty-transport-classes-epoll-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-core\1.0.22\reactor-netty-core-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler-proxy\4.1.79.Final\netty-handler-proxy-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-socks\4.1.79.Final\netty-codec-socks-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webflux\5.3.22\spring-webflux-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\reactor-core\3.4.22\reactor-core-3.4.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.7.3\spring-boot-starter-validation-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.65\tomcat-embed-el-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-cache\2.7.3\spring-boot-starter-cache-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context-support\5.3.22\spring-context-support-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-redis\2.7.3\spring-boot-starter-data-redis-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-redis\2.7.2\spring-data-redis-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-keyvalue\2.7.2\spring-data-keyvalue-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-oxm\5.3.22\spring-oxm-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\lettuce\lettuce-core\6.1.9.RELEASE\lettuce-core-6.1.9.RELEASE.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-common\4.1.79.Final\netty-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler\4.1.79.Final\netty-handler-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver\4.1.79.Final\netty-resolver-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-buffer\4.1.79.Final\netty-buffer-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.79.Final\netty-transport-native-unix-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec\4.1.79.Final\netty-codec-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport\4.1.79.Final\netty-transport-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr-spring-boot-starter\5.1.6\jobrunr-spring-boot-starter-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr\5.1.6\jobrunr-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\ow2\asm\asm\9.3\asm-9.3.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot-starter\3.0.4\jasypt-spring-boot-starter-3.0.4.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot\3.0.4\jasypt-spring-boot-3.0.4.jar;C:\Users\ibcol\.m2\repository\org\jasypt\jasypt\1.9.3\jasypt-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.7.3\spring-boot-starter-thymeleaf-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf-spring5\3.0.15.RELEASE\thymeleaf-spring5-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf\3.0.15.RELEASE\thymeleaf-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-websocket\2.7.3\spring-boot-starter-websocket-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-messaging\5.3.22\spring-messaging-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-websocket\5.3.22\spring-websocket-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-springsecurity5\3.0.4.RELEASE\thymeleaf-extras-springsecurity5-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\com\google\guava\guava\31.1-jre\guava-31.1-jre.jar;C:\Users\ibcol\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\ibcol\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\ibcol\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\ibcol\.m2\repository\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;C:\Users\ibcol\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-pdf\9.1.22\flying-saucer-pdf-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\lowagie\itext\2.1.7\itext-2.1.7.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-core\9.1.22\flying-saucer-core-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\core\3.5.0\core-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\javase\3.5.0\javase-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\beust\jcommander\1.82\jcommander-1.82.jar;C:\Users\ibcol\.m2\repository\com\github\jai-imageio\jai-imageio-core\1.4.0\jai-imageio-core-1.4.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.7.3\spring-boot-starter-security-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-config\5.7.3\spring-security-config-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-web\5.7.3\spring-security-web-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.7.3\spring-boot-starter-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.3\spring-boot-actuator-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator\2.7.3\spring-boot-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\micrometer\micrometer-core\1.9.3\micrometer-core-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;C:\Users\ibcol\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-core\1.5.1\jgrapht-core-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\jheaps\jheaps\0.13\jheaps-0.13.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-io\1.5.1\jgrapht-io-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\antlr\antlr4-runtime\4.8-1\antlr4-runtime-4.8-1.jar;C:\Users\ibcol\.m2\repository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;C:\Users\ibcol\.m2\repository\org\mapstruct\mapstruct\1.5.2.Final\mapstruct-1.5.2.Final.jar;C:\Users\ibcol\.m2\repository\io\jenetics\jpx\2.3.0\jpx-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\hashids\hashids\1.0.3\hashids-1.0.3.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-ui\1.6.9\springdoc-openapi-ui-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-webmvc-core\1.6.9\springdoc-openapi-webmvc-core-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-common\1.6.9\springdoc-openapi-common-1.6.9.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-core\2.2.0\swagger-core-2.2.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.13.3\jackson-dataformat-yaml-2.13.3.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-annotations\2.2.0\swagger-annotations-2.2.0.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-models\2.2.0\swagger-models-2.2.0.jar;C:\Users\ibcol\.m2\repository\org\webjars\swagger-ui\4.11.1\swagger-ui-4.11.1.jar;C:\Users\ibcol\.m2\repository\org\webjars\webjars-locator-core\0.50\webjars-locator-core-0.50.jar;C:\Users\ibcol\.m2\repository\io\github\classgraph\classgraph\4.8.147\classgraph-4.8.147.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jms\5.3.22\spring-jms-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-tx\5.3.22\spring-tx-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core\3.18.2\camel-core-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-engine\3.18.2\camel-core-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-api\3.18.2\camel-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base-engine\3.18.2\camel-base-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base\3.18.2\camel-base-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-reifier\3.18.2\camel-core-reifier-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-processor\3.18.2\camel-core-processor-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-management-api\3.18.2\camel-management-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util\3.18.2\camel-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-languages\3.18.2\camel-core-languages-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-model\3.18.2\camel-core-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-bean\3.18.2\camel-bean-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-browse\3.18.2\camel-browse-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cluster\3.18.2\camel-cluster-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-controlbus\3.18.2\camel-controlbus-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataformat\3.18.2\camel-dataformat-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataset\3.18.2\camel-dataset-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-direct\3.18.2\camel-direct-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-directvm\3.18.2\camel-directvm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-file\3.18.2\camel-file-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-health\3.18.2\camel-health-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-language\3.18.2\camel-language-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-log\3.18.2\camel-log-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-mock\3.18.2\camel-mock-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-ref\3.18.2\camel-ref-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rest\3.18.2\camel-rest-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-tooling-model\3.18.2\camel-tooling-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-saga\3.18.2\camel-saga-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-scheduler\3.18.2\camel-scheduler-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-seda\3.18.2\camel-seda-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-stub\3.18.2\camel-stub-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-timer\3.18.2\camel-timer-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-validator\3.18.2\camel-validator-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-vm\3.18.2\camel-vm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xpath\3.18.2\camel-xpath-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xslt\3.18.2\camel-xslt-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb\3.18.2\camel-xml-jaxb-3.18.2.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-core\2.3.0\jaxb-core-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxp\3.18.2\camel-xml-jaxp-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-io-util\3.18.2\camel-xml-io-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-jms\3.18.2\camel-jms-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-support\3.18.2\camel-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring\3.18.2\camel-spring-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\geronimo\specs\geronimo-jms_2.0_spec\1.0-alpha-2\geronimo-jms_2.0_spec-1.0-alpha-2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rabbitmq\3.18.2\camel-rabbitmq-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-pool2\2.11.1\commons-pool2-2.11.1.jar;C:\Users\ibcol\.m2\repository\com\rabbitmq\amqp-client\5.14.2\amqp-client-5.14.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-amqp\2.7.3\spring-boot-starter-amqp-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-rabbit\2.4.6\spring-rabbit-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-amqp\2.4.6\spring-amqp-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\retry\spring-retry\1.3.3\spring-retry-1.3.3.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot-starter\3.18.2\camel-spring-boot-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot\3.18.2\camel-spring-boot-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-main\3.18.2\camel-spring-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-main\3.18.2\camel-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util-json\3.18.2\camel-util-json-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb-dsl\3.18.2\camel-xml-jaxb-dsl-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dsl-support\3.18.2\camel-dsl-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-xml\3.18.2\camel-spring-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-xml\3.18.2\camel-core-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cloud\3.18.2\camel-cloud-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-core-starter\3.18.2\camel-core-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-bean-starter\3.18.2\camel-bean-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-browse-starter\3.18.2\camel-browse-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-controlbus-starter\3.18.2\camel-controlbus-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataformat-starter\3.18.2\camel-dataformat-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataset-starter\3.18.2\camel-dataset-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-direct-starter\3.18.2\camel-direct-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-directvm-starter\3.18.2\camel-directvm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-file-starter\3.18.2\camel-file-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-language-starter\3.18.2\camel-language-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-log-starter\3.18.2\camel-log-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-mock-starter\3.18.2\camel-mock-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-ref-starter\3.18.2\camel-ref-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-rest-starter\3.18.2\camel-rest-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-saga-starter\3.18.2\camel-saga-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-scheduler-starter\3.18.2\camel-scheduler-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-seda-starter\3.18.2\camel-seda-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-stub-starter\3.18.2\camel-stub-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-timer-starter\3.18.2\camel-timer-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-validator-starter\3.18.2\camel-validator-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-vm-starter\3.18.2\camel-vm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xpath-starter\3.18.2\camel-xpath-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xslt-starter\3.18.2\camel-xslt-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xml-jaxp-starter\3.18.2\camel-xml-jaxp-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\yaml\snakeyaml\1.32\snakeyaml-1.32.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-reactive-streams-starter\3.18.2\camel-reactive-streams-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-reactive-streams\3.18.2\camel-reactive-streams-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;C:\Users\ibcol\.m2\repository\com\h2database\h2\1.4.197\h2-1.4.197.jar;C:\Users\ibcol\.m2\repository\com\univocity\univocity-parsers\2.9.1\univocity-parsers-2.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;C:\Users\ibcol\.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\ibcol\.m2\repository\org\ddogleg\ddogleg\0.21\ddogleg-0.21.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-core\0.41\ejml-core-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fdense\0.41\ejml-fdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-ddense\0.41\ejml-ddense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-simple\0.41\ejml-simple-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-cdense\0.41\ejml-cdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-zdense\0.41\ejml-zdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fsparse\0.41\ejml-fsparse-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-dsparse\0.41\ejml-dsparse-0.41.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.13.3\jackson-datatype-joda-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-csv\2.13.3\jackson-dataformat-csv-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;C:\Users\ibcol\.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.7.3\spring-boot-starter-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test\2.7.3\spring-boot-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.7.3\spring-boot-test-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\com\jayway\jsonpath\json-path\2.7.0\json-path-2.7.0.jar;C:\Users\ibcol\.m2\repository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\org\assertj\assertj-core\3.22.0\assertj-core-3.22.0.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-core\4.5.1\mockito-core-4.5.1.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy-agent\1.12.13\byte-buddy-agent-1.12.13.jar;C:\Users\ibcol\.m2\repository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-junit-jupiter\4.5.1\mockito-junit-jupiter-4.5.1.jar;C:\Users\ibcol\.m2\repository\org\skyscreamer\jsonassert\1.5.1\jsonassert-1.5.1.jar;C:\Users\ibcol\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\ibcol\.m2\repository\org\xmlunit\xmlunit-core\2.9.0\xmlunit-core-2.9.0.jar;C:\Users\ibcol\.m2\repository\joda-time\joda-time\2.10.14\joda-time-2.10.14.jar;C:\Users\ibcol\.m2\repository\de\micromata\jak\JavaAPIforKml\2.2.1\JavaAPIforKml-2.2.1.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2\jaxb-impl-2.2.jar;C:\Users\ibcol\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\ibcol\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2\jaxb-xjc-2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi\5.2.2\poi-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml\5.2.2\poi-ooxml-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml-lite\5.2.2\poi-ooxml-lite-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\xmlbeans\xmlbeans\5.0.3\xmlbeans-5.0.3.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-compress\1.21\commons-compress-1.21.jar;C:\Users\ibcol\.m2\repository\com\github\virtuald\curvesapi\1.07\curvesapi-1.07.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\testcontainers\1.16.3\testcontainers-1.16.3.jar;C:\Users\ibcol\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest-core\2.2\hamcrest-core-2.2.jar;C:\Users\ibcol\.m2\repository\org\rnorth\duct-tape\duct-tape\1.0.8\duct-tape-1.0.8.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\annotations\17.0.0\annotations-17.0.0.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-api\3.2.12\docker-java-api-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport-zerodep\3.2.12\docker-java-transport-zerodep-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport\3.2.12\docker-java-transport-3.2.12.jar;C:\Users\ibcol\.m2\repository\net\java\dev\jna\jna\5.8.0\jna-5.8.0.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\postgresql\1.16.3\postgresql-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\jdbc\1.16.3\jdbc-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\database-commons\1.16.3\database-commons-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\influxdb\1.17.3\influxdb-1.17.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\junit-jupiter\1.16.3\junit-jupiter-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;C:\Users\ibcol\.m2\repository\io\xlate\staedi\1.19.0\staedi-1.19.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-test\5.1.6.RELEASE\spring-security-test-5.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-core\5.7.3\spring-security-core-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-crypto\5.7.3\spring-security-crypto-5.7.3.jar;C:\Users\ibcol\.m2\repository\com\openpojo\openpojo\0.9.1\openpojo-0.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-text\1.9\commons-text-1.9.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar Index: C:\Users\ibcol\.diffblue\index\foobar-services-c22b7d605935b60729b0ced5056a4582af15cd318e5793d8aae56725440673f9 Iterations: 1000 StopOnFirstSuccess: false MockingPrefixes: [] MockStaticClassNames: [] MockInputObjects: true SpringIntegrationTests: true PerMethodSoftTimeout: PT20S PerMethodHardTimeout: PT30M SpringStartupTimeout: PT10M ReplayTrace: null ActiveSpringProfiles: [] ConfigurationClasses: [] CoverAllEnums: false DisableSecurityPolicy: false 10:04:52.176 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 10:05:12.486 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:05:12.838 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = "Location Id"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 10:05:12.841 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:05:12.919 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:05:12.931 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = ","; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 10:05:12.932 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:05:12.989 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:05:12.999 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = "\\s+"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 10:05:12.999 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:05:13.489 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 1.149s, 57.5ms/it 10:05:14.122 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:05:14.133 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:05:14.134 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test @Ignore("TODO: Complete this test") public void testAddSensorToLocation() { // Arrange String locationId = "42"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 10:05:14.135 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:05:14.136 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:05:14.138 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 10:05:16.350 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:05:16.354 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:05:16.354 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass20 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:05:16.369 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:05:16.370 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:05:16.371 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass21 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:05:16.389 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:05:16.391 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:05:16.392 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass22 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:05:16.550 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.233s, 11.7ms/it 10:05:16.870 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:05:16.872 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:05:16.872 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:05:16.872 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass19 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:05:16.873 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:05:16.874 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:05:56.584 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 1002/1000 its, 38.608s, 38.5ms/it 10:05:57.620 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 10:05:57.622 [INFO][analyzer-service:TimedExecutor-367][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 10:06:00.777 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testAddSensorToLocation', descriptor '()V' is already present in the existing sources 10:06:01.696 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testAddSensorToLocation2', descriptor '()V' is already present in the existing sources 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] Tests created: 1 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] Partial tests created: 1 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] Reasons for partial tests: 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] R013: No inputs found that don't throw a trivial exception 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] test threw 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] java.lang.NullPointerException 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] at us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService.addSensorRelationship(SensorRelationshipService.java:72) 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.lambda$addSensorToLocation$4(LocationManagementService.java:477) 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] at java.util.Optional.ifPresent(Optional.java:183) 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation(LocationManagementService.java:476) 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] In order to prevent addSensorToLocation(String, String) 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] from throwing NullPointerException, add constructors or factory 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] methods that make it easier to construct fully initialized objects used in 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] addSensorToLocation(String, String). 10:06:01.697 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/21] See https://diff.blue/R013 to resolve this issue. 10:06:01.702 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 10:06:02.650 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:06:02.659 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = "Location Id"; // Act locationManagementService.deleteLocation(locationId); } } 10:06:02.659 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass37 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:06:02.706 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:06:02.716 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = ","; // Act locationManagementService.deleteLocation(locationId); } } 10:06:02.717 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass38 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:06:02.759 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:06:02.767 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = "\\s+"; // Act locationManagementService.deleteLocation(locationId); } } 10:06:02.767 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass39 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:06:17.468 [INFO][analyzer-service:TimedExecutor-368][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 14.921s, 48.0ms/it 10:06:17.949 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:06:17.956 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:06:17.956 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test @Ignore("TODO: Complete this test") public void testDeleteLocation() { // Arrange String locationId = "42"; // Act locationManagementService.deleteLocation(locationId); } } 10:06:17.956 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass36 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:06:17.957 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:06:17.957 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 10:06:19.530 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:06:19.533 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:06:19.533 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass348 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:06:19.548 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:06:19.550 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:06:19.550 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass349 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:06:19.565 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:06:19.567 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:06:19.568 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass350 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:06:23.208 [INFO][analyzer-service:TimedExecutor-369][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 3.714s, 11.9ms/it 10:06:23.553 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:06:23.555 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:06:23.555 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:06:23.556 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass347 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:06:23.556 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:06:23.556 [INFO][analyzer-service:TimedExecutor-370][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:07:08.788 [INFO][analyzer-service:TimedExecutor-370][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 4+0 new+accumulated tests, 3+1 tests+partial tests, 1002/1000 its, 44.787s, 44.7ms/it 10:07:09.614 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 3+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 4 10:07:09.614 [INFO][analyzer-service:TimedExecutor-692][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 10:07:10.530 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testDeleteLocation', descriptor '()V' is already present in the existing sources 10:07:11.373 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testDeleteLocation2', descriptor '()V' is already present in the existing sources 10:07:12.322 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testDeleteLocation3', descriptor '()V' is already present in the existing sources 10:07:13.327 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testDeleteLocation4', descriptor '()V' is already present in the existing sources 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] Tests created: 3 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] Partial tests created: 1 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] Reasons for partial tests: 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] R013: No inputs found that don't throw a trivial exception 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] test threw 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] java.lang.NullPointerException 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.sendLocationNotification(LocationManagementService.java:667) 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation(LocationManagementService.java:582) 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] In order to prevent deleteLocation(String) 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] from throwing NullPointerException, add constructors or factory 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] methods that make it easier to construct fully initialized objects used in 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] deleteLocation(String). 10:07:13.330 [INFO][pool-9-thread-7][c.d.i.p.w.e] [2/21] See https://diff.blue/R013 to resolve this issue. 10:07:13.332 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (it, !fnm)' ================================================================================ 10:07:14.366 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:14.373 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.enrichLocation(location); } } 10:07:14.373 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass658 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:07:14.414 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:14.424 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.enrichLocation(location); } } 10:07:14.424 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass659 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:07:14.459 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:14.466 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.enrichLocation(location); } } 10:07:14.466 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass660 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:07:15.993 [INFO][analyzer-service:TimedExecutor-693][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 1.786s, 35.0ms/it 10:07:16.199 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:07:16.205 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:07:16.205 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testEnrichLocation() { // Arrange Location location = new Location(); // Act locationManagementService.enrichLocation(location); } } 10:07:16.205 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass657 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:07:16.205 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:07:16.206 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (!it, !fnm)' ================================================================================ 10:07:17.124 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:17.125 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:07:17.125 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass710 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:07:17.136 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:17.138 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:07:17.139 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass711 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:07:17.147 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:17.149 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:07:17.149 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass712 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:07:17.495 [INFO][analyzer-service:TimedExecutor-694][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.448s, 8.5ms/it 10:07:17.690 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:07:17.695 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 10:07:17.695 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:07:17.696 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass709 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:07:17.696 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 10:07:17.697 [INFO][analyzer-service:TimedExecutor-695][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:07:29.091 [INFO][analyzer-service:TimedExecutor-695][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 553/1000 its, 10.946s, 19.8ms/it 10:07:29.335 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 10:07:29.335 [INFO][analyzer-service:TimedExecutor-705][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (it, !fnm)' ================================================================================ 10:07:30.698 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testEnrichLocation', descriptor '()V' is already present in the existing sources 10:07:31.590 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testEnrichLocation2', descriptor '()V' is already present in the existing sources 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] Tests created: 1 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] Partial tests created: 1 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] Reasons for partial tests: 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] R013: No inputs found that don't throw a trivial exception 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] test threw 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] java.lang.NullPointerException 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] at us.mycompany.itv.gateway.modules.locations.service.LocationHealthService.getLocationHealth(LocationHealthService.java:154) 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation(LocationManagementService.java:639) 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] In order to prevent enrichLocation(Location) 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] from throwing NullPointerException, add constructors or factory 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] methods that make it easier to construct fully initialized objects used in 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] enrichLocation(Location). 10:07:31.591 [INFO][pool-9-thread-7][c.d.i.p.w.e] [3/21] See https://diff.blue/R013 to resolve this issue. 10:07:31.593 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 10:07:32.442 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:32.448 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = ","; // Act locationManagementService.findByIcao(icao); } } 10:07:32.448 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass763 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:07:32.485 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:32.490 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = "42"; // Act locationManagementService.findByIcao(icao); } } 10:07:32.490 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass764 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:07:32.532 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:32.540 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = "\\s+"; // Act locationManagementService.findByIcao(icao); } } 10:07:32.540 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass765 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:07:42.803 [INFO][analyzer-service:TimedExecutor-706][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.429s, 33.5ms/it 10:07:43.143 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:07:43.157 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:07:43.158 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByIcao() { // Arrange String icao = "Icao"; // Act locationManagementService.findByIcao(icao); } } 10:07:43.158 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass762 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:07:43.158 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:07:43.158 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 10:07:44.023 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:44.024 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:07:44.025 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1074 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:07:44.034 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:44.035 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:07:44.036 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1075 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:07:44.042 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:07:44.045 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:07:44.045 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1076 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:07:46.041 [INFO][analyzer-service:TimedExecutor-707][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 2.033s, 6.5ms/it 10:07:46.332 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:07:46.334 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:07:46.334 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:07:46.335 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1073 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:07:46.335 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:07:46.335 [INFO][analyzer-service:TimedExecutor-708][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:08:28.898 [INFO][analyzer-service:TimedExecutor-708][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 2+1 tests+partial tests, 1002/1000 its, 42.161s, 42.1ms/it 10:08:29.563 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 2+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 10:08:29.563 [INFO][analyzer-service:TimedExecutor-1007][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 10:08:30.535 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testFindByIcao', descriptor '()V' is already present in the existing sources 10:08:31.412 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testFindByIcao2', descriptor '()V' is already present in the existing sources 10:08:32.247 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testFindByIcao3', descriptor '()V' is already present in the existing sources 10:08:32.251 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao 10:08:32.251 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] Tests created: 2 10:08:32.251 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] Partial tests created: 1 10:08:32.251 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] Reasons for partial tests: 10:08:32.251 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] R013: No inputs found that don't throw a trivial exception 10:08:32.251 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:08:32.251 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] test threw 10:08:32.252 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] java.lang.NullPointerException 10:08:32.252 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] at java.util.Objects.requireNonNull(Objects.java:221) 10:08:32.252 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao(LocationManagementService.java:182) 10:08:32.252 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] In order to prevent findByIcao(String) 10:08:32.252 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] from throwing NullPointerException, add constructors or factory 10:08:32.252 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] methods that make it easier to construct fully initialized objects used in 10:08:32.252 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] findByIcao(String). 10:08:32.252 [INFO][pool-9-thread-7][c.d.i.p.w.e] [4/21] See https://diff.blue/R013 to resolve this issue. 10:08:32.253 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 10:08:33.221 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:08:33.228 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = "Raw Address"; // Act locationManagementService.findByRawAddress(rawAddress); } } 10:08:33.228 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1384 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:08:33.264 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:08:33.269 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = ","; // Act locationManagementService.findByRawAddress(rawAddress); } } 10:08:33.269 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1385 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:08:33.303 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:08:33.307 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = "42"; // Act locationManagementService.findByRawAddress(rawAddress); } } 10:08:33.307 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1386 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:08:46.618 [INFO][analyzer-service:TimedExecutor-1008][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 312/333 its, 13.477s, 43.2ms/it 10:08:47.514 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:08:47.519 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:08:47.520 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByRawAddress() { // Arrange String rawAddress = "42 Main St"; // Act locationManagementService.findByRawAddress(rawAddress); } } 10:08:47.520 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1383 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:08:47.520 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:08:47.520 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 10:08:48.520 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:08:48.523 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:08:48.523 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1696 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:08:48.533 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:08:48.535 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:08:48.536 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1697 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:08:48.547 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:08:48.549 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:08:48.549 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1698 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:08:50.752 [INFO][analyzer-service:TimedExecutor-1009][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 312/333 its, 2.247s, 7.2ms/it 10:08:51.064 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:08:51.065 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:08:51.065 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:08:51.066 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1695 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:08:51.066 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:08:51.066 [INFO][analyzer-service:TimedExecutor-1010][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:09:37.227 [INFO][analyzer-service:TimedExecutor-1010][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 2+1 tests+partial tests, 1002/1000 its, 45.707s, 45.6ms/it 10:09:37.876 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 2+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 10:09:37.877 [INFO][analyzer-service:TimedExecutor-1309][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 10:09:38.784 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testFindByRawAddress', descriptor '()V' is already present in the existing sources 10:09:39.653 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testFindByRawAddress2', descriptor '()V' is already present in the existing sources 10:09:40.524 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testFindByRawAddress3', descriptor '()V' is already present in the existing sources 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] Tests created: 2 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] Partial tests created: 1 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] Reasons for partial tests: 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] R013: No inputs found that don't throw a trivial exception 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] test threw 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] java.lang.NullPointerException 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] at java.util.Objects.requireNonNull(Objects.java:221) 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress(LocationManagementService.java:202) 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] In order to prevent findByRawAddress(String) 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] from throwing NullPointerException, add constructors or factory 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] methods that make it easier to construct fully initialized objects used in 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] findByRawAddress(String). 10:09:40.526 [INFO][pool-9-thread-7][c.d.i.p.w.e] [5/21] See https://diff.blue/R013 to resolve this issue. 10:09:40.528 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 10:09:41.510 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:09:41.515 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = ","; // Act locationManagementService.findByUnit(unit); } } 10:09:41.515 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2007 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:09:41.550 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:09:41.554 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = "42"; // Act locationManagementService.findByUnit(unit); } } 10:09:41.555 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2008 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:09:41.588 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:09:41.594 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = "\\s+"; // Act locationManagementService.findByUnit(unit); } } 10:09:41.594 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2009 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:09:52.253 [INFO][analyzer-service:TimedExecutor-1310][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.817s, 34.8ms/it 10:09:52.578 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:09:52.583 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:09:52.583 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByUnit() { // Arrange String unit = "Unit"; // Act locationManagementService.findByUnit(unit); } } 10:09:52.583 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2006 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:09:52.584 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:09:52.584 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 10:09:53.485 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:09:53.487 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:09:53.487 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2318 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:09:53.497 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:09:53.498 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:09:53.498 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2319 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:09:53.505 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:09:53.508 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:09:53.508 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2320 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:09:55.286 [INFO][analyzer-service:TimedExecutor-1311][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.816s, 5.8ms/it 10:09:55.586 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:09:55.587 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:09:55.587 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:09:55.588 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2317 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:09:55.588 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:09:55.589 [INFO][analyzer-service:TimedExecutor-1312][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:10:41.802 [INFO][analyzer-service:TimedExecutor-1312][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 2+1 tests+partial tests, 1002/1000 its, 45.775s, 45.7ms/it 10:10:42.483 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 2+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 10:10:42.484 [INFO][analyzer-service:TimedExecutor-1611][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 10:10:43.364 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testFindByUnit', descriptor '()V' is already present in the existing sources 10:10:44.208 [INFO][AWT-EventQueue-0][c.d.i.plugin.b.f] class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementServiceTest', method 'testFindByUnit2', descriptor '()V' is already present in the existing sources 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] Tests created: 2 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] Partial tests created: 1 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] Reasons for partial tests: 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] R013: No inputs found that don't throw a trivial exception 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] test threw 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] java.lang.NullPointerException 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] at java.util.Objects.requireNonNull(Objects.java:221) 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit(LocationManagementService.java:192) 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] In order to prevent findByUnit(String) 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] from throwing NullPointerException, add constructors or factory 10:10:47.436 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] methods that make it easier to construct fully initialized objects used in 10:10:47.437 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] findByUnit(String). 10:10:47.437 [INFO][pool-9-thread-7][c.d.i.p.w.e] [6/21] See https://diff.blue/R013 to resolve this issue. 10:10:47.439 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 10:10:48.449 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:10:48.454 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = "Location Id"; // Act locationManagementService.getLocation(locationId); } } 10:10:48.454 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2628 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:10:48.490 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:10:48.516 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = ","; // Act locationManagementService.getLocation(locationId); } } 10:10:48.517 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2629 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:10:48.558 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:10:48.563 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = "\\s+"; // Act locationManagementService.getLocation(locationId); } } 10:10:48.563 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2630 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:10:58.960 [INFO][analyzer-service:TimedExecutor-1612][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.581s, 34.0ms/it 10:10:59.294 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:10:59.300 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:10:59.300 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocation() { // Arrange String locationId = "42"; // Act locationManagementService.getLocation(locationId); } } 10:10:59.300 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2627 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:10:59.300 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:10:59.301 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 10:11:00.156 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:00.158 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:11:00.158 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2939 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:11:00.166 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:00.167 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:11:00.167 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2940 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:11:00.176 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:00.177 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:11:00.177 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2941 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:11:01.832 [INFO][analyzer-service:TimedExecutor-1613][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.690s, 5.4ms/it 10:11:02.127 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:11:02.128 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:11:02.128 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:11:02.128 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2938 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:11:02.128 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:11:02.129 [INFO][analyzer-service:TimedExecutor-1614][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:11:44.591 [INFO][analyzer-service:TimedExecutor-1614][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 2+1 tests+partial tests, 1002/1000 its, 42.029s, 41.9ms/it 10:11:45.282 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 2+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 10:11:45.283 [INFO][analyzer-service:TimedExecutor-1913][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] Tests created: 2 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] Partial tests created: 1 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] Reasons for partial tests: 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] R013: No inputs found that don't throw a trivial exception 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] test threw 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] java.lang.NullPointerException 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] at java.util.Objects.requireNonNull(Objects.java:221) 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation(LocationManagementService.java:172) 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] In order to prevent getLocation(String) 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] from throwing NullPointerException, add constructors or factory 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] methods that make it easier to construct fully initialized objects used in 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] getLocation(String). 10:11:47.325 [INFO][pool-9-thread-7][c.d.i.p.w.e] [7/21] See https://diff.blue/R013 to resolve this issue. 10:11:47.327 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (it, !fnm)' ================================================================================ 10:11:48.641 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:48.649 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = 0; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 10:11:48.649 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3249 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:11:48.688 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:48.694 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = -1; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 10:11:48.694 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3250 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:11:48.730 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:48.735 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = -2147483648; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 10:11:48.736 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3251 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:11:49.025 [INFO][analyzer-service:TimedExecutor-1914][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.453s, 25.2ms/it 10:11:49.223 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:11:49.229 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:11:49.229 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCoordinates() { // Arrange int page = 1; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 10:11:49.229 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3248 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:11:49.229 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:11:49.230 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (!it, !fnm)' ================================================================================ 10:11:50.082 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:50.084 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:11:50.084 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3265 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:11:50.094 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:50.095 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:11:50.095 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3266 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:11:50.103 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:11:50.105 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:11:50.106 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3267 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:11:50.172 [INFO][analyzer-service:TimedExecutor-1915][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.110s, 6.1ms/it 10:11:50.351 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:11:50.352 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:11:50.353 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:11:50.353 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3264 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:11:50.353 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:11:50.353 [INFO][analyzer-service:TimedExecutor-1916][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:12:32.466 [INFO][analyzer-service:TimedExecutor-1916][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 1+2 tests+partial tests, 1002/1000 its, 41.668s, 41.6ms/it 10:12:32.694 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1+2 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 10:12:32.694 [INFO][analyzer-service:TimedExecutor-2211][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (it, !fnm)' ================================================================================ 10:12:34.972 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates 10:12:34.972 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] Tests created: 1 10:12:34.972 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] Partial tests created: 2 10:12:34.972 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] Reasons for partial tests: 10:12:34.972 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] R013: No inputs found that don't throw a trivial exception 10:12:34.972 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:12:34.972 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] test threw 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] java.lang.NullPointerException 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at us.mycompany.itv.common.model.geo.dto.Coordinates.compareTo(Coordinates.java:23) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at us.mycompany.itv.common.model.geo.dto.Coordinates.compareTo(Coordinates.java:8) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at java.util.TreeMap.compare(TreeMap.java:1291) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at java.util.TreeMap.put(TreeMap.java:536) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at java.util.TreeSet.add(TreeSet.java:255) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at java.util.AbstractCollection.addAll(AbstractCollection.java:352) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at java.util.TreeSet.addAll(TreeSet.java:312) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at java.util.TreeSet.(TreeSet.java:160) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates(LocationManagementService.java:461) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] In order to prevent getLocationCoordinates(Integer, Integer) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] from throwing NullPointerException, add constructors or factory 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] methods that make it easier to construct fully initialized objects used in 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] getLocationCoordinates(Integer, Integer). 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] See https://diff.blue/R013 to resolve this issue. 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] R013: No inputs found that don't throw a trivial exception 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] test threw 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] java.lang.NullPointerException 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates(LocationManagementService.java:461) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] In order to prevent getLocationCoordinates(Integer, Integer) 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] from throwing NullPointerException, add constructors or factory 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] methods that make it easier to construct fully initialized objects used in 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] getLocationCoordinates(Integer, Integer). 10:12:34.973 [INFO][pool-9-thread-7][c.d.i.p.w.e] [8/21] See https://diff.blue/R013 to resolve this issue. 10:12:34.974 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (it, !fnm)' ================================================================================ 10:12:36.051 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:12:36.056 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "Location Id"; // Act locationManagementService.getLocationCounts(locationId); } } 10:12:36.056 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3280 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:12:36.090 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:12:36.095 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = ","; // Act locationManagementService.getLocationCounts(locationId); } } 10:12:36.095 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3281 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:12:36.128 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:12:36.132 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "\\s+"; // Act locationManagementService.getLocationCounts(locationId); } } 10:12:36.132 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3282 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:12:46.566 [INFO][analyzer-service:TimedExecutor-2212][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.586s, 34.0ms/it 10:12:46.906 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:12:46.911 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:12:46.911 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCounts() { // Arrange String locationId = "42"; // Act locationManagementService.getLocationCounts(locationId); } } 10:12:46.911 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3279 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:12:46.911 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:12:46.911 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (!it, !fnm)' ================================================================================ 10:12:47.837 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:12:47.839 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:12:47.839 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3591 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:12:47.847 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:12:47.849 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:12:47.849 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3592 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:12:47.861 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:12:47.864 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:12:47.864 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3593 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:12:49.743 [INFO][analyzer-service:TimedExecutor-2213][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.925s, 6.2ms/it 10:12:50.043 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:12:50.045 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:12:50.045 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:12:50.045 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3590 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:12:50.045 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:12:50.045 [INFO][analyzer-service:TimedExecutor-2214][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:13:22.111 [INFO][analyzer-service:TimedExecutor-2214][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 506/1000 its, 31.635s, 62.5ms/it 10:13:22.490 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 10:13:22.490 [INFO][analyzer-service:TimedExecutor-2448][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (it, !fnm)' ================================================================================ 10:13:23.359 [INFO][pool-9-thread-7][c.d.i.p.w.e] [9/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts 10:13:23.359 [INFO][pool-9-thread-7][c.d.i.p.w.e] [9/21] Tests created: 1 10:13:23.360 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (it, !fnm)' ================================================================================ 10:13:24.426 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:13:24.431 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "Location Id"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 10:13:24.431 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3901 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:13:24.469 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:13:24.474 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = ","; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 10:13:24.474 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3902 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:13:24.513 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:13:24.519 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "\\s+"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 10:13:24.519 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3903 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:13:25.047 [INFO][analyzer-service:TimedExecutor-2449][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.687s, 29.9ms/it 10:13:25.401 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:13:25.407 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:13:25.407 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCounts() { // Arrange String locationId = "42"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 10:13:25.407 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3900 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:13:25.408 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:13:25.408 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (!it, !fnm)' ================================================================================ 10:13:26.372 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:13:26.374 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:13:26.374 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3923 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:13:26.383 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:13:26.386 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:13:26.387 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3924 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:13:26.397 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:13:26.399 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:13:26.399 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3925 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:13:26.519 [INFO][analyzer-service:TimedExecutor-2450][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.164s, 7.1ms/it 10:13:26.828 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:13:26.830 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:13:26.830 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:13:26.830 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3922 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:13:26.830 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:13:26.830 [INFO][analyzer-service:TimedExecutor-2451][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:13:59.226 [INFO][analyzer-service:TimedExecutor-2451][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 506/1000 its, 31.961s, 63.2ms/it 10:13:59.577 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 10:13:59.577 [INFO][analyzer-service:TimedExecutor-2685][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (it, !fnm)' ================================================================================ 10:14:00.479 [INFO][pool-9-thread-7][c.d.i.p.w.e] [10/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts 10:14:00.479 [INFO][pool-9-thread-7][c.d.i.p.w.e] [10/21] Tests created: 1 10:14:00.481 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:14:01.412 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:01.418 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test public void testGetLocationsAtPosition() { // Arrange double latitude = 0.5d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 10:14:01.418 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3944 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:14:01.455 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:01.459 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test public void testGetLocationsAtPosition() { // Arrange double latitude = -0.5d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 10:14:01.460 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3945 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:14:01.497 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:01.499 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:14:01.499 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3946 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:14:01.601 [INFO][analyzer-service:TimedExecutor-2686][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 12/333 its, 0.258s, 21.5ms/it 10:14:01.948 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:14:01.954 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:14:01.954 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationsAtPosition() { // Arrange double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 10:14:01.954 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3943 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:14:01.954 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:14:01.954 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 10:14:02.861 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:02.863 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:14:02.863 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3954 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:14:02.872 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:02.874 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:14:02.874 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3955 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:14:02.882 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:02.886 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:14:02.886 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3956 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:14:02.907 [INFO][analyzer-service:TimedExecutor-2687][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 12/333 its, 0.063s, 5.3ms/it 10:14:03.226 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:14:03.227 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:14:03.227 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:14:03.227 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3953 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:14:03.228 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:14:03.228 [INFO][analyzer-service:TimedExecutor-2688][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:14:49.284 [INFO][analyzer-service:TimedExecutor-2688][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 4+0 new+accumulated tests, 3+1 tests+partial tests, 1002/1000 its, 45.626s, 45.5ms/it 10:14:50.078 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 3+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 4 10:14:50.079 [INFO][analyzer-service:TimedExecutor-3011][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:14:54.061 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] Tests created: 3 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] Partial tests created: 1 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] Reasons for partial tests: 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] R013: No inputs found that don't throw a trivial exception 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] test threw 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] java.lang.NullPointerException 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] at java.util.Objects.requireNonNull(Objects.java:221) 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition(LocationManagementService.java:423) 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] In order to prevent getLocationsAtPosition(Double, Double) 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] from throwing NullPointerException, add constructors or factory 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] methods that make it easier to construct fully initialized objects used in 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] getLocationsAtPosition(Double, Double). 10:14:54.062 [INFO][pool-9-thread-7][c.d.i.p.w.e] [11/21] See https://diff.blue/R013 to resolve this issue. 10:14:54.063 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (it, !fnm)' ================================================================================ 10:14:55.139 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:55.144 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = "Location Id"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 10:14:55.144 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3963 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:14:55.178 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:55.183 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = ","; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 10:14:55.183 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3964 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:14:55.219 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:55.224 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = "\\s+"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 10:14:55.224 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3965 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:14:55.583 [INFO][analyzer-service:TimedExecutor-3012][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 21/333 its, 0.510s, 24.3ms/it 10:14:55.907 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:14:55.911 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:14:55.911 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testIsPositionAtLocation() { // Arrange String locationId = "42"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 10:14:55.911 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3962 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:14:55.911 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:14:55.912 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (!it, !fnm)' ================================================================================ 10:14:56.765 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:56.767 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:14:56.767 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3980 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:14:56.774 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:56.776 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:14:56.776 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3981 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:14:56.784 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:14:56.785 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:14:56.785 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3982 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:14:56.859 [INFO][analyzer-service:TimedExecutor-3013][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 21/333 its, 0.109s, 5.2ms/it 10:14:57.186 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:14:57.188 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:14:57.188 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:14:57.188 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3979 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:14:57.188 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:14:57.188 [INFO][analyzer-service:TimedExecutor-3014][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:15:36.910 [INFO][analyzer-service:TimedExecutor-3014][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 39.216s, 39.1ms/it 10:15:37.485 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 10:15:37.486 [INFO][analyzer-service:TimedExecutor-3292][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (it, !fnm)' ================================================================================ 10:15:39.403 [INFO][pool-9-thread-7][c.d.i.p.w.e] [12/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation 10:15:39.403 [INFO][pool-9-thread-7][c.d.i.p.w.e] [12/21] Tests created: 2 10:15:39.405 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (it, !fnm)' ================================================================================ 10:15:40.493 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:15:40.498 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = "Location Id"; // Act locationManagementService.locationExists(locationId); } } 10:15:40.499 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3996 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:15:40.533 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:15:40.537 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = ","; // Act locationManagementService.locationExists(locationId); } } 10:15:40.537 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3997 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:15:40.572 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:15:40.576 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = "\\s+"; // Act locationManagementService.locationExists(locationId); } } 10:15:40.576 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3998 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:15:51.288 [INFO][analyzer-service:TimedExecutor-3293][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.865s, 34.9ms/it 10:15:51.659 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:15:51.664 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:15:51.664 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test @Ignore("TODO: Complete this test") public void testLocationExists() { // Arrange String locationId = "42"; // Act locationManagementService.locationExists(locationId); } } 10:15:51.664 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3995 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:15:51.665 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:15:51.665 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (!it, !fnm)' ================================================================================ 10:15:52.500 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:15:52.502 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:15:52.502 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4307 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:15:52.510 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:15:52.513 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:15:52.514 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4308 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:15:52.520 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:15:52.522 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:15:52.522 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4309 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:15:54.270 [INFO][analyzer-service:TimedExecutor-3294][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.783s, 5.7ms/it 10:15:54.576 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:15:54.577 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:15:54.577 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:15:54.577 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4306 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:15:54.577 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:15:54.578 [INFO][analyzer-service:TimedExecutor-3295][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:16:34.608 [INFO][analyzer-service:TimedExecutor-3295][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 39.601s, 39.5ms/it 10:16:35.100 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 10:16:35.100 [INFO][analyzer-service:TimedExecutor-3573][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (it, !fnm)' ================================================================================ 10:16:39.904 [INFO][pool-9-thread-7][c.d.i.p.w.e] [13/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists 10:16:39.904 [INFO][pool-9-thread-7][c.d.i.p.w.e] [13/21] Tests created: 2 10:16:39.905 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (it, !fnm)' ================================================================================ 10:16:41.030 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:16:41.035 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = "Item Id"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 10:16:41.035 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4617 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:16:41.068 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:16:41.073 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = ","; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 10:16:41.073 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4618 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:16:41.106 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:16:41.111 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = "\\s+"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 10:16:41.111 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4619 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:16:41.859 [INFO][analyzer-service:TimedExecutor-3574][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 33/333 its, 0.895s, 27.1ms/it 10:16:42.202 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:16:42.206 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:16:42.207 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testProcessItemLocationUpdates() { // Arrange String itemId = "42"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 10:16:42.207 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4616 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:16:42.207 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:16:42.207 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (!it, !fnm)' ================================================================================ 10:16:43.319 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:16:43.321 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:16:43.321 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4645 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:16:43.329 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:16:43.331 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:16:43.331 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4646 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:16:43.340 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:16:43.342 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:16:43.342 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4647 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:16:43.485 [INFO][analyzer-service:TimedExecutor-3575][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 33/333 its, 0.181s, 5.5ms/it 10:16:43.793 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:16:43.794 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:16:43.795 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:16:43.795 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4644 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:16:43.795 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:16:43.796 [INFO][analyzer-service:TimedExecutor-3576][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:17:21.846 [INFO][analyzer-service:TimedExecutor-3576][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 37.634s, 37.6ms/it 10:17:22.453 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 10:17:22.454 [INFO][analyzer-service:TimedExecutor-3860][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (it, !fnm)' ================================================================================ 10:17:24.927 [INFO][pool-9-thread-7][c.d.i.p.w.e] [14/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates 10:17:24.927 [INFO][pool-9-thread-7][c.d.i.p.w.e] [14/21] Tests created: 2 10:17:24.928 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 10:17:26.004 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:17:26.008 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = "Location Id"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 10:17:26.008 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4672 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:17:26.044 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:17:26.049 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = ","; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 10:17:26.050 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4673 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:17:26.082 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:17:26.087 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = "\\s+"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 10:17:26.087 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4674 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:17:26.542 [INFO][analyzer-service:TimedExecutor-3861][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.606s, 30.3ms/it 10:17:26.902 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:17:26.906 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:17:26.906 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test @Ignore("TODO: Complete this test") public void testRemoveSensorFromLocation() { // Arrange String locationId = "42"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 10:17:26.907 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4671 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:17:26.907 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:17:26.907 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 10:17:27.805 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:17:27.807 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:17:27.807 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4690 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:17:27.814 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:17:27.815 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:17:27.815 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4691 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:17:27.821 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:17:27.823 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:17:27.823 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4692 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:17:27.897 [INFO][analyzer-service:TimedExecutor-3862][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.105s, 5.3ms/it 10:17:28.203 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:17:28.204 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:17:28.204 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:17:28.205 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4689 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:17:28.205 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:17:28.205 [INFO][analyzer-service:TimedExecutor-3863][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:17:58.737 [INFO][analyzer-service:TimedExecutor-3863][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 1002/1000 its, 30.114s, 30.1ms/it 10:17:59.204 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 10:17:59.205 [INFO][analyzer-service:TimedExecutor-4224][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] Tests created: 1 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] Partial tests created: 1 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] Reasons for partial tests: 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] R013: No inputs found that don't throw a trivial exception 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] test threw 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] java.lang.NullPointerException 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] at us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService.removeSensorRelationship(SensorRelationshipService.java:92) 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.lambda$removeSensorFromLocation$5(LocationManagementService.java:495) 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] at java.util.Optional.ifPresent(Optional.java:183) 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation(LocationManagementService.java:494) 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] In order to prevent removeSensorFromLocation(String, String) 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] from throwing NullPointerException, add constructors or factory 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] methods that make it easier to construct fully initialized objects used in 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] removeSensorFromLocation(String, String). 10:18:01.483 [INFO][pool-9-thread-7][c.d.i.p.w.e] [15/21] See https://diff.blue/R013 to resolve this issue. 10:18:01.484 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 10:18:02.551 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:02.556 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.saveLocation(location); } } 10:18:02.556 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4707 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:02.590 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:02.597 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.saveLocation(location); } } 10:18:02.597 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4708 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:02.631 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:02.635 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.saveLocation(location); } } 10:18:02.635 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4709 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:04.167 [INFO][analyzer-service:TimedExecutor-4225][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 1.742s, 34.2ms/it 10:18:04.366 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:18:04.371 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 10:18:04.371 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testSaveLocation() { // Arrange Location location = new Location(); // Act locationManagementService.saveLocation(location); } } 10:18:04.371 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4706 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:04.371 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 10:18:04.371 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (!it, !fnm)' ================================================================================ 10:18:05.289 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:05.291 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:05.291 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4759 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:05.298 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:05.301 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:05.301 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4760 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:05.307 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:05.308 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:05.308 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4761 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:05.597 [INFO][analyzer-service:TimedExecutor-4226][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.384s, 7.2ms/it 10:18:05.778 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:18:05.780 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 10:18:05.780 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:18:05.780 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4758 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:05.780 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 10:18:05.780 [INFO][analyzer-service:TimedExecutor-4227][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:18:16.893 [INFO][analyzer-service:TimedExecutor-4227][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 553/1000 its, 10.686s, 19.3ms/it 10:18:17.084 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, here is the last one: 10:18:17.229 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 10:18:17.230 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import static org.mockito.Mockito.mock; import org.junit.Ignore; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.crypto.argon2.Argon2PasswordEncoder; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationDistributionService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.notifications.service.UserNotificationManagementService; import us.mycompany.itv.gateway.modules.notifications.service.handlers.ConvoyNotificationHandler; import us.mycompany.itv.gateway.modules.notifications.service.handlers.GeneralNotificationHandler; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.gateway.userauth.data.UserRepository; import us.mycompany.itv.gateway.userauth.model.UserMapperImpl; import us.mycompany.itv.gateway.userauth.service.UserService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationManagementServiceTest { /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testSaveLocation() { // Arrange TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService1, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService3, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService2, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); SensorHealthService sensorHealthService1 = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService4, null, null, null, null, null, null, null, vehicleManagementService1, vehicleCargoService1, null, new TransitStatsManagementService(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService5, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService6, null, personRepository, personMapper, new SensorRelationshipService()); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, itemMovementManagementService2, shipmentManagementService1, locationManagementService1, personManagementService, vehicleManagementService2, unitAssetManagementService1, new SensorManagementService(timeSeriesService7, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService())); SensorNotificationService sensorNotificationService1 = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService( new GeocodingService(null, new WebClientUtils())); MessagingService messagingService1 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService3, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService2, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService3, locationManagementService2, locationItemManagementService, vehicleManagementService4, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService5, null, null, null, locationItemRepository4, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService10, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService1, personManagementService1, new NotificationService(null)); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService1, shipmentManagementService2, unitAssetManagementService2, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); SensorHealthService sensorHealthService2 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService2 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService3 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService11, sensorHealthService2, sensorNotificationService2, itemMovementManagementService5, locationManagementService3, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService13, null, locationUtils4, locationRepository4, locationItemRepository6, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService4, timeSeriesService14, healthEventService1, auditLogSubmissionService1, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(null); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService7, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService16, null, null, null, null, null, null, null, vehicleManagementService8, vehicleCargoService3, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, locationEventManagementService, shipmentManagementService3, unitAssetManagementService3, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService17, null, locationUtils6, locationRepository6, locationItemRepository9, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService6 = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService3, timeSeriesService15, geocodingService, locationUtils5, locationRepository5, locationItemRepository7, locationMapper5, locationItemMapper5, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService2, new NodeSearchService(locationManagementService5, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService1, sensorNotificationService1, itemMovementManagementService4, locationManagementService6, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); SensorHealthService sensorHealthService3 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService3 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); LocationManagementService locationManagementService7 = new LocationManagementService(null, null, null, timeSeriesService19, null, locationUtils7, locationRepository7, locationItemRepository10, locationMapper7, locationItemMapper7, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService18, sensorHealthService3, sensorNotificationService3, itemMovementManagementService6, locationManagementService7, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService20, null, locationUtils8, locationRepository8, locationItemRepository11, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService1 = new LocationHealthService(locationManagementService8, timeSeriesService21, healthEventService2, auditLogSubmissionService2, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); GeoCacheService geoCacheService1 = new GeoCacheService(null); GeocodingService geocodingService1 = new GeocodingService(geoCacheService1, new WebClientUtils()); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService10, locationEventRepository1, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService23, null, null, null, null, null, null, null, vehicleManagementService11, vehicleCargoService4, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService9, locationEventManagementService1, shipmentManagementService4, unitAssetManagementService4, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService24, null, locationUtils10, locationRepository10, locationItemRepository14, locationMapper10, locationItemMapper10, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService4, timeSeriesService22, geocodingService1, locationUtils9, locationRepository9, locationItemRepository12, locationMapper9, locationItemMapper9, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService3, new NodeSearchService(locationManagementService9, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService1 = new EventSubmissionService(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, eventSubmissionService1, new HealthEventMQService(new RabbitTemplate())); UserRepository userRepository = mock(UserRepository.class); UserMapperImpl userMapper = new UserMapperImpl(); UserService userService = new UserService(userRepository, userMapper, new Argon2PasswordEncoder(), null); AuditLogRepository auditLogRepository1 = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService( new AuditLogService(userService, auditLogRepository1, new AuditLogMapperImpl())); MessagingService messagingService3 = new MessagingService(null); ConvoyNotificationHandler convoyNotificationHandler = new ConvoyNotificationHandler(null); GeneralNotificationHandler generalNotificationHandler = new GeneralNotificationHandler(null); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService10, timeSeriesService25, healthEventService3, auditLogSubmissionService3, new NotificationService(new NotificationProcessingService(messagingService3, convoyNotificationHandler, generalNotificationHandler, new NotificationDistributionService(null, null, new UserNotificationManagementService(), null, null, null, null, null, null, null, null)))); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); GeoCacheService geoCacheService2 = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService2, new WebClientUtils()); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); MessagingService messagingService4 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService28, null, locationUtils12, locationRepository12, locationItemRepository16, locationMapper12, locationItemMapper12, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService27, messagingService4, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService7, locationManagementService11, locationItemManagementService4, vehicleManagementService14, vehicleCargoService5, modificationNotificationMessagingService6, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService15, null, null, null, locationItemRepository18, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, null, personRepository2, personMapper2, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService7, locationItemManagementService5, personManagementService2, new NotificationService(null)); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService17, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService5, unitAssetManagementService5, vehicleManagementService16, locationEventRepository2, locationEventMapper, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService8 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService18, vehicleCargoService6, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository4 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper4 = new HealthEventMapperImpl(); HealthEventService healthEventService4 = new HealthEventService(healthEventRepository4, healthEventMapper4, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService8, shipmentManagementService6, healthEventService4, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(null); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils13 = new LocationUtils(); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper13 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper13 = new LocationItemMapperImpl(); LocationManagementService locationManagementService12 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils13, locationRepository13, locationItemRepository19, locationMapper13, locationItemMapper13, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService4 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService12, auditLogSubmissionService4, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService19, vehicleCargoService7, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService9 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService7, unitAssetManagementService6, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils14 = new LocationUtils(); LocationRepository locationRepository14 = mock(LocationRepository.class); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper14 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper14 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService20, null, null, null, locationItemRepository21, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService13 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService8, timeSeriesService36, geocodingService3, locationUtils14, locationRepository14, locationItemRepository20, locationMapper14, locationItemMapper14, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService6, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService22, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService23, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService21, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService7, locationItemRepository22, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService9, locationManagementService13, locationItemManagementService7, vehicleManagementService24, vehicleCargoService9, modificationNotificationMessagingService9, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils15 = new LocationUtils(); LocationRepository locationRepository15 = mock(LocationRepository.class); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper15 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper15 = new LocationItemMapperImpl(); LocationManagementService locationManagementService14 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils15, locationRepository15, locationItemRepository23, locationMapper15, locationItemMapper15, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService14, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService39, null, personRepository3, personMapper3, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService26, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService25, locationEventManagementService5, shipmentManagementService10, unitAssetManagementService8, locationItemRepository24, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( null); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService11, personRepository4, personMapper4, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService10, locationItemManagementService8, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService12, locationEventManagementService3, shipmentManagementService9, unitAssetManagementService9, locationItemRepository25, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); SensorHealthService sensorHealthService4 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService4 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService10 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); LocationUtils locationUtils16 = new LocationUtils(); LocationRepository locationRepository16 = mock(LocationRepository.class); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper16 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper16 = new LocationItemMapperImpl(); LocationManagementService locationManagementService15 = new LocationManagementService(null, null, null, timeSeriesService43, null, locationUtils16, locationRepository16, locationItemRepository26, locationMapper16, locationItemMapper16, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService42, sensorHealthService4, sensorNotificationService4, itemMovementManagementService10, locationManagementService15, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); LocationUtils locationUtils17 = new LocationUtils(); LocationRepository locationRepository17 = mock(LocationRepository.class); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper17 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper17 = new LocationItemMapperImpl(); LocationManagementService locationManagementService16 = new LocationManagementService(null, null, null, timeSeriesService44, null, locationUtils17, locationRepository17, locationItemRepository27, locationMapper17, locationItemMapper17, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); HealthEventRepository healthEventRepository5 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper5 = new HealthEventMapperImpl(); HealthEventService healthEventService5 = new HealthEventService(healthEventRepository5, healthEventMapper5, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService5 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService4 = new LocationHealthService(locationManagementService16, timeSeriesService45, healthEventService5, auditLogSubmissionService5, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService46 = new TimeSeriesService(); GeoCacheService geoCacheService3 = new GeoCacheService(null); GeocodingService geocodingService4 = new GeocodingService(geoCacheService3, new WebClientUtils()); LocationUtils locationUtils18 = new LocationUtils(); LocationRepository locationRepository18 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper18 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper18 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService29, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService47 = new TimeSeriesService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService47, null, null, null, null, null, null, null, vehicleManagementService30, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService28, locationEventManagementService6, shipmentManagementService11, unitAssetManagementService10, locationItemRepository29, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService48 = new TimeSeriesService(); LocationUtils locationUtils19 = new LocationUtils(); LocationRepository locationRepository19 = mock(LocationRepository.class); LocationItemRepository locationItemRepository30 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper19 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper19 = new LocationItemMapperImpl(); LocationManagementService locationManagementService17 = new LocationManagementService(null, null, null, timeSeriesService48, null, locationUtils19, locationRepository19, locationItemRepository30, locationMapper19, locationItemMapper19, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService18 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService12, timeSeriesService46, geocodingService4, locationUtils18, locationRepository18, locationItemRepository28, locationMapper18, locationItemMapper18, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService10, new NodeSearchService(locationManagementService17, nodeItemRepository3, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService19 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService5, timeSeriesService26, geocodingService2, locationUtils11, locationRepository11, locationItemRepository15, locationMapper11, locationItemMapper11, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService9, new NodeSearchService(locationManagementService18, nodeItemRepository4, new NodeItemMapperImpl())); Location location = new Location(); // Act locationManagementService19.saveLocation(location); } } 10:18:17.230 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.NoNonThrowingInputsException: No generated test that does not throw a trivial exception: java.lang.NullPointerException at com.diffblue.fuzztest.a.d.a(SourceFile:400) at com.diffblue.fuzztest.a.d.a(SourceFile:2727) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.NullPointerException: null at us.mycompany.itv.gateway.modules.locations.utils.LocationUtils.generateStaleTimestamp(LocationUtils.java:29) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationDetails(LocationManagementService.java:684) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation(LocationManagementService.java:515) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.diffblue.tir.a.h.a(SourceFile:73) at com.diffblue.tir.a.a.c.a(SourceFile:728) at com.diffblue.tir.a.f.a(SourceFile:414) at com.diffblue.tir.a.f.b(SourceFile:80) at com.diffblue.tir.d.e.a(SourceFile:37) at com.diffblue.tir.a.g.a(SourceFile:219) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted 10:18:17.230 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 10:18:17.230 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 10:18:17.231 [INFO][analyzer-service:TimedExecutor-4232][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 10:18:17.976 [INFO][pool-9-thread-7][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4706 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 10:18:17.977 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation 10:18:17.977 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] Partial tests created: 1 10:18:17.977 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] Reasons for partial tests: 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] R026: Failed to create Spring context 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] Attempt to initialize test context failed with 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.util.Assert.state(Assert.java:76) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] when running class: 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] package us.mycompany.itv.gateway.modules.locations.service; 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] @org.springframework.boot.test.context.SpringBootTest 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] public class DiffblueFakeClass4706 { 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] @org.junit.Test // if JUnit 4 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] @org.junit.jupiter.api.Test // if JUnit 5 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] public void testSpringContextLoads() {} 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] } 10:18:17.978 [INFO][pool-9-thread-7][c.d.i.p.w.e] [16/21] See https://diff.blue/R026 to resolve this issue. 10:18:17.980 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:18:19.338 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:19.343 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = "Item Id"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 10:18:19.344 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4812 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:19.379 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:19.383 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = ","; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 10:18:19.383 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4813 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:19.417 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:19.421 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = "\\s+"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 10:18:19.421 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4814 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:19.946 [INFO][analyzer-service:TimedExecutor-4233][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.674s, 29.3ms/it 10:18:20.293 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:18:20.297 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 10:18:20.297 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test @Ignore("TODO: Complete this test") public void testSearchLocations() { // Arrange String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 10:18:20.297 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4811 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:20.297 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 10:18:20.298 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 10:18:21.195 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:21.197 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:21.197 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4834 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:21.203 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:21.205 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:21.205 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4835 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:21.214 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:21.216 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:21.216 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4836 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:21.312 [INFO][analyzer-service:TimedExecutor-4234][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.133s, 5.8ms/it 10:18:21.669 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:18:21.671 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 10:18:21.671 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:18:21.671 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4833 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:21.671 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 10:18:21.672 [INFO][analyzer-service:TimedExecutor-4235][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:18:53.679 [INFO][analyzer-service:TimedExecutor-4235][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 505/1000 its, 31.524s, 62.4ms/it 10:18:54.055 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 10:18:54.056 [INFO][analyzer-service:TimedExecutor-4468][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 10:18:55.142 [INFO][pool-9-thread-7][c.d.i.p.w.e] [17/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations 10:18:55.142 [INFO][pool-9-thread-7][c.d.i.p.w.e] [17/21] Tests created: 1 10:18:55.144 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (it, !fnm)' ================================================================================ 10:18:56.136 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:56.140 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria("Location URI"); // Act locationManagementService.searchLocations(searchCriteria); } } 10:18:56.140 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4855 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:56.176 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:56.179 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = null; // Act locationManagementService.searchLocations(searchCriteria); } } 10:18:56.179 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4856 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:56.212 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:56.217 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria(1, 3, "42"); // Act locationManagementService.searchLocations(searchCriteria); } } 10:18:56.217 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4857 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:57.264 [INFO][analyzer-service:TimedExecutor-4469][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 36/333 its, 1.226s, 34.1ms/it 10:18:57.493 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:18:57.497 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:18:57.497 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test @Ignore("TODO: Complete this test") public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria(); // Act locationManagementService.searchLocations(searchCriteria); } } 10:18:57.497 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4854 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:18:57.497 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:18:57.498 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (!it, !fnm)' ================================================================================ 10:18:58.623 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:58.626 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:58.626 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4892 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:58.634 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:58.635 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:58.635 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4893 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:58.642 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:18:58.644 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:18:58.644 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4894 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:58.832 [INFO][analyzer-service:TimedExecutor-4470][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 37/333 its, 0.249s, 6.7ms/it 10:18:59.008 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:18:59.009 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:18:59.009 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:18:59.010 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4891 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:18:59.010 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:18:59.010 [INFO][analyzer-service:TimedExecutor-4471][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:19:44.400 [INFO][analyzer-service:TimedExecutor-4471][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 4+0 new+accumulated tests, 4+0 tests+partial tests, 1002/1000 its, 44.963s, 44.9ms/it 10:19:45.254 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 4+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 4 10:19:45.254 [INFO][analyzer-service:TimedExecutor-4800][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (it, !fnm)' ================================================================================ 10:19:50.970 [INFO][pool-9-thread-7][c.d.i.p.w.e] [18/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations 10:19:50.970 [INFO][pool-9-thread-7][c.d.i.p.w.e] [18/21] Tests created: 4 10:19:50.971 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 10:19:52.125 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:19:52.129 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.updateLocation(location); } } 10:19:52.129 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4929 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:19:52.164 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:19:52.169 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.updateLocation(location); } } 10:19:52.169 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4930 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:19:52.202 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:19:52.206 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.updateLocation(location); } } 10:19:52.206 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4931 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:19:53.723 [INFO][analyzer-service:TimedExecutor-4801][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 1.722s, 33.8ms/it 10:19:53.931 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:19:53.935 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:19:53.935 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocation() { // Arrange Location location = new Location(); // Act locationManagementService.updateLocation(location); } } 10:19:53.935 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4928 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:19:53.935 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:19:53.936 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (!it, !fnm)' ================================================================================ 10:19:55.108 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:19:55.110 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:19:55.110 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4981 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:19:55.117 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:19:55.118 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:19:55.118 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4982 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:19:55.127 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:19:55.129 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:19:55.129 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4983 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:19:55.431 [INFO][analyzer-service:TimedExecutor-4802][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.410s, 7.7ms/it 10:19:55.615 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:19:55.617 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:19:55.617 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:19:55.617 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4980 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:19:55.617 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:19:55.617 [INFO][analyzer-service:TimedExecutor-4803][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:20:06.810 [INFO][analyzer-service:TimedExecutor-4803][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 553/1000 its, 10.757s, 19.5ms/it 10:20:07.004 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Created 1 partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, here is the last one: 10:20:07.129 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == begin partial test == 10:20:07.130 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import static org.mockito.Mockito.mock; import org.junit.Ignore; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.crypto.argon2.Argon2PasswordEncoder; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationDistributionService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.notifications.service.UserNotificationManagementService; import us.mycompany.itv.gateway.modules.notifications.service.handlers.ConvoyNotificationHandler; import us.mycompany.itv.gateway.modules.notifications.service.handlers.GeneralNotificationHandler; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.gateway.userauth.data.UserRepository; import us.mycompany.itv.gateway.userauth.model.UserMapperImpl; import us.mycompany.itv.gateway.userauth.service.UserService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationManagementServiceTest { /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocation() { // Arrange TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService1, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService3, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService2, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); SensorHealthService sensorHealthService1 = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService4, null, null, null, null, null, null, null, vehicleManagementService1, vehicleCargoService1, null, new TransitStatsManagementService(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService5, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService6, null, personRepository, personMapper, new SensorRelationshipService()); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, itemMovementManagementService2, shipmentManagementService1, locationManagementService1, personManagementService, vehicleManagementService2, unitAssetManagementService1, new SensorManagementService(timeSeriesService7, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService())); SensorNotificationService sensorNotificationService1 = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService( new GeocodingService(null, new WebClientUtils())); MessagingService messagingService1 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService3, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService2, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService3, locationManagementService2, locationItemManagementService, vehicleManagementService4, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService5, null, null, null, locationItemRepository4, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService10, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService1, personManagementService1, new NotificationService(null)); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService1, shipmentManagementService2, unitAssetManagementService2, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); SensorHealthService sensorHealthService2 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService2 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService3 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService11, sensorHealthService2, sensorNotificationService2, itemMovementManagementService5, locationManagementService3, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService13, null, locationUtils4, locationRepository4, locationItemRepository6, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService4, timeSeriesService14, healthEventService1, auditLogSubmissionService1, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(null); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService7, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService16, null, null, null, null, null, null, null, vehicleManagementService8, vehicleCargoService3, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, locationEventManagementService, shipmentManagementService3, unitAssetManagementService3, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService17, null, locationUtils6, locationRepository6, locationItemRepository9, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService6 = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService3, timeSeriesService15, geocodingService, locationUtils5, locationRepository5, locationItemRepository7, locationMapper5, locationItemMapper5, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService2, new NodeSearchService(locationManagementService5, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService1, sensorNotificationService1, itemMovementManagementService4, locationManagementService6, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); SensorHealthService sensorHealthService3 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService3 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); LocationManagementService locationManagementService7 = new LocationManagementService(null, null, null, timeSeriesService19, null, locationUtils7, locationRepository7, locationItemRepository10, locationMapper7, locationItemMapper7, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService18, sensorHealthService3, sensorNotificationService3, itemMovementManagementService6, locationManagementService7, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService20, null, locationUtils8, locationRepository8, locationItemRepository11, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService1 = new LocationHealthService(locationManagementService8, timeSeriesService21, healthEventService2, auditLogSubmissionService2, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); GeoCacheService geoCacheService1 = new GeoCacheService(null); GeocodingService geocodingService1 = new GeocodingService(geoCacheService1, new WebClientUtils()); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService10, locationEventRepository1, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService23, null, null, null, null, null, null, null, vehicleManagementService11, vehicleCargoService4, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService9, locationEventManagementService1, shipmentManagementService4, unitAssetManagementService4, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService24, null, locationUtils10, locationRepository10, locationItemRepository14, locationMapper10, locationItemMapper10, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService4, timeSeriesService22, geocodingService1, locationUtils9, locationRepository9, locationItemRepository12, locationMapper9, locationItemMapper9, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService3, new NodeSearchService(locationManagementService9, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService1 = new EventSubmissionService(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, eventSubmissionService1, new HealthEventMQService(new RabbitTemplate())); UserRepository userRepository = mock(UserRepository.class); UserMapperImpl userMapper = new UserMapperImpl(); UserService userService = new UserService(userRepository, userMapper, new Argon2PasswordEncoder(), null); AuditLogRepository auditLogRepository1 = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService( new AuditLogService(userService, auditLogRepository1, new AuditLogMapperImpl())); MessagingService messagingService3 = new MessagingService(null); ConvoyNotificationHandler convoyNotificationHandler = new ConvoyNotificationHandler(null); GeneralNotificationHandler generalNotificationHandler = new GeneralNotificationHandler(null); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService10, timeSeriesService25, healthEventService3, auditLogSubmissionService3, new NotificationService(new NotificationProcessingService(messagingService3, convoyNotificationHandler, generalNotificationHandler, new NotificationDistributionService(null, null, new UserNotificationManagementService(), null, null, null, null, null, null, null, null)))); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); GeoCacheService geoCacheService2 = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService2, new WebClientUtils()); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); MessagingService messagingService4 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService28, null, locationUtils12, locationRepository12, locationItemRepository16, locationMapper12, locationItemMapper12, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService27, messagingService4, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService7, locationManagementService11, locationItemManagementService4, vehicleManagementService14, vehicleCargoService5, modificationNotificationMessagingService6, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService15, null, null, null, locationItemRepository18, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, null, personRepository2, personMapper2, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService7, locationItemManagementService5, personManagementService2, new NotificationService(null)); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService17, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService5, unitAssetManagementService5, vehicleManagementService16, locationEventRepository2, locationEventMapper, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService8 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService18, vehicleCargoService6, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository4 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper4 = new HealthEventMapperImpl(); HealthEventService healthEventService4 = new HealthEventService(healthEventRepository4, healthEventMapper4, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService8, shipmentManagementService6, healthEventService4, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(null); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils13 = new LocationUtils(); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper13 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper13 = new LocationItemMapperImpl(); LocationManagementService locationManagementService12 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils13, locationRepository13, locationItemRepository19, locationMapper13, locationItemMapper13, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService4 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService12, auditLogSubmissionService4, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService19, vehicleCargoService7, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService9 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService7, unitAssetManagementService6, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils14 = new LocationUtils(); LocationRepository locationRepository14 = mock(LocationRepository.class); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper14 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper14 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService20, null, null, null, locationItemRepository21, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService13 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService8, timeSeriesService36, geocodingService3, locationUtils14, locationRepository14, locationItemRepository20, locationMapper14, locationItemMapper14, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService6, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService22, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService23, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService21, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService7, locationItemRepository22, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService9, locationManagementService13, locationItemManagementService7, vehicleManagementService24, vehicleCargoService9, modificationNotificationMessagingService9, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils15 = new LocationUtils(); LocationRepository locationRepository15 = mock(LocationRepository.class); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper15 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper15 = new LocationItemMapperImpl(); LocationManagementService locationManagementService14 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils15, locationRepository15, locationItemRepository23, locationMapper15, locationItemMapper15, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService14, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService39, null, personRepository3, personMapper3, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService26, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService25, locationEventManagementService5, shipmentManagementService10, unitAssetManagementService8, locationItemRepository24, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( null); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService11, personRepository4, personMapper4, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService10, locationItemManagementService8, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService12, locationEventManagementService3, shipmentManagementService9, unitAssetManagementService9, locationItemRepository25, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); SensorHealthService sensorHealthService4 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService4 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService10 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); LocationUtils locationUtils16 = new LocationUtils(); LocationRepository locationRepository16 = mock(LocationRepository.class); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper16 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper16 = new LocationItemMapperImpl(); LocationManagementService locationManagementService15 = new LocationManagementService(null, null, null, timeSeriesService43, null, locationUtils16, locationRepository16, locationItemRepository26, locationMapper16, locationItemMapper16, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService42, sensorHealthService4, sensorNotificationService4, itemMovementManagementService10, locationManagementService15, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); LocationUtils locationUtils17 = new LocationUtils(); LocationRepository locationRepository17 = mock(LocationRepository.class); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper17 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper17 = new LocationItemMapperImpl(); LocationManagementService locationManagementService16 = new LocationManagementService(null, null, null, timeSeriesService44, null, locationUtils17, locationRepository17, locationItemRepository27, locationMapper17, locationItemMapper17, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); HealthEventRepository healthEventRepository5 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper5 = new HealthEventMapperImpl(); HealthEventService healthEventService5 = new HealthEventService(healthEventRepository5, healthEventMapper5, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService5 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService4 = new LocationHealthService(locationManagementService16, timeSeriesService45, healthEventService5, auditLogSubmissionService5, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService46 = new TimeSeriesService(); GeoCacheService geoCacheService3 = new GeoCacheService(null); GeocodingService geocodingService4 = new GeocodingService(geoCacheService3, new WebClientUtils()); LocationUtils locationUtils18 = new LocationUtils(); LocationRepository locationRepository18 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper18 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper18 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService29, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService47 = new TimeSeriesService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService47, null, null, null, null, null, null, null, vehicleManagementService30, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService28, locationEventManagementService6, shipmentManagementService11, unitAssetManagementService10, locationItemRepository29, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService48 = new TimeSeriesService(); LocationUtils locationUtils19 = new LocationUtils(); LocationRepository locationRepository19 = mock(LocationRepository.class); LocationItemRepository locationItemRepository30 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper19 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper19 = new LocationItemMapperImpl(); LocationManagementService locationManagementService17 = new LocationManagementService(null, null, null, timeSeriesService48, null, locationUtils19, locationRepository19, locationItemRepository30, locationMapper19, locationItemMapper19, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService18 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService12, timeSeriesService46, geocodingService4, locationUtils18, locationRepository18, locationItemRepository28, locationMapper18, locationItemMapper18, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService10, new NodeSearchService(locationManagementService17, nodeItemRepository3, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService19 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService5, timeSeriesService26, geocodingService2, locationUtils11, locationRepository11, locationItemRepository15, locationMapper11, locationItemMapper11, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService9, new NodeSearchService(locationManagementService18, nodeItemRepository4, new NodeItemMapperImpl())); Location location = new Location(); // Act locationManagementService19.updateLocation(location); } } 10:20:07.130 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.NoNonThrowingInputsException: No generated test that does not throw a trivial exception: java.lang.NullPointerException at com.diffblue.fuzztest.a.d.a(SourceFile:400) at com.diffblue.fuzztest.a.d.a(SourceFile:2727) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.NullPointerException: null at us.mycompany.itv.gateway.modules.locations.utils.LocationUtils.generateStaleTimestamp(LocationUtils.java:29) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationDetails(LocationManagementService.java:684) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation(LocationManagementService.java:540) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.diffblue.tir.a.h.a(SourceFile:73) at com.diffblue.tir.a.a.c.a(SourceFile:728) at com.diffblue.tir.a.f.a(SourceFile:414) at com.diffblue.tir.a.f.b(SourceFile:80) at com.diffblue.tir.d.e.a(SourceFile:37) at com.diffblue.tir.a.g.a(SourceFile:219) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted 10:20:07.131 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] == end partial test == 10:20:07.131 [INFO][analyzer-service:grpc-default-executor-3][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 10:20:07.131 [INFO][analyzer-service:TimedExecutor-4808][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 10:20:09.916 [INFO][pool-9-thread-7][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4928 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] Partial tests created: 1 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] Reasons for partial tests: 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] R026: Failed to create Spring context 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] Attempt to initialize test context failed with 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.util.Assert.state(Assert.java:76) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] when running class: 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] package us.mycompany.itv.gateway.modules.locations.service; 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] @org.springframework.boot.test.context.SpringBootTest 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] public class DiffblueFakeClass4928 { 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] @org.junit.Test // if JUnit 4 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] @org.junit.jupiter.api.Test // if JUnit 5 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] public void testSpringContextLoads() {} 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] } 10:20:09.917 [INFO][pool-9-thread-7][c.d.i.p.w.e] [19/21] See https://diff.blue/R026 to resolve this issue. 10:20:09.918 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (it, !fnm)' ================================================================================ 10:20:11.014 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:20:11.017 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = "Location Id"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 10:20:11.018 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5034 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:20:11.056 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:20:11.061 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = ","; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 10:20:11.061 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5035 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:20:11.103 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:20:11.109 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = "\\s+"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 10:20:11.109 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5036 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:20:11.546 [INFO][analyzer-service:TimedExecutor-4809][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 17/333 its, 0.601s, 35.4ms/it 10:20:11.898 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 10:20:11.901 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 10:20:11.901 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocationHealth() { // Arrange String locationId = "42"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 10:20:11.902 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5033 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 10:20:11.902 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 10:20:11.902 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (!it, !fnm)' ================================================================================ 10:20:12.802 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:20:12.803 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:20:12.803 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5050 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:20:12.810 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:20:12.812 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:20:12.812 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5051 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:20:12.818 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 10:20:12.820 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 10:20:12.820 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5052 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:20:12.919 [INFO][analyzer-service:TimedExecutor-4810][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.132s, 7.3ms/it 10:20:13.233 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 10:20:13.234 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 10:20:13.234 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 10:20:13.235 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5049 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 10:20:13.235 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 10:20:13.235 [INFO][analyzer-service:TimedExecutor-4811][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 10:20:43.599 [INFO][analyzer-service:TimedExecutor-4811][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 1002/1000 its, 29.949s, 29.9ms/it 10:20:44.145 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 10:20:44.145 [INFO][analyzer-service:TimedExecutor-5173][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (it, !fnm)' ================================================================================ 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] Tests created: 1 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] Partial tests created: 1 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] Reasons for partial tests: 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] R013: No inputs found that don't throw a trivial exception 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] Diffblue Cover tried to run the arrange/act section, but the method under 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] test threw 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] java.lang.NullPointerException 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] at us.mycompany.itv.gateway.modules.locations.utils.LocationUtils.generateStaleTimestamp(LocationUtils.java:29) 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.lambda$updateLocationHealth$7(LocationManagementService.java:566) 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] at java.util.Optional.ifPresent(Optional.java:183) 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth(LocationManagementService.java:564) 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] In order to prevent updateLocationHealth(String, LocationHealth) 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] from throwing NullPointerException, add constructors or factory 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] methods that make it easier to construct fully initialized objects used in 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] updateLocationHealth(String, LocationHealth). 10:20:46.848 [INFO][pool-9-thread-7][c.d.i.p.w.e] [20/21] See https://diff.blue/R013 to resolve this issue. 10:20:46.854 [INFO][pool-9-thread-7][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.:(Lus/mycompany/itv/gateway/modules/sensors/service/SensorManagementService;Lus/mycompany/itv/gateway/modules/locations/service/LocationHealthService;Lus/mycompany/itv/gateway/modules/messaging/service/ModificationNotificationMessagingService;Lus/mycompany/itv/gateway/data/timeseries/service/TimeSeriesService;Lus/mycompany/itv/gateway/modules/geo/service/GeocodingService;Lus/mycompany/itv/gateway/modules/locations/utils/LocationUtils;Lus/mycompany/itv/gateway/modules/locations/data/LocationRepository;Lus/mycompany/itv/gateway/modules/locations/data/LocationItemRepository;Lus/mycompany/itv/gateway/modules/locations/model/LocationMapper;Lus/mycompany/itv/gateway/modules/locations/model/LocationItemMapper;Lus/mycompany/itv/gateway/modules/movements/service/submission/MovementEventSubmissionService;Lus/mycompany/itv/gateway/modules/sensors/service/SensorRelationshipService;Lus/mycompany/itv/gateway/modules/locations/service/LocationItemManagementService;Lus/mycompany/itv/gateway/modules/nodes/service/NodeSearchService;)V: T005: Trivial constructor See https://diff.blue/T005 10:20:46.854 [INFO][pool-9-thread-7][c.d.i.p.w.e] [21/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService. 10:20:46.854 [INFO][pool-9-thread-7][c.d.i.p.w.e] [21/21] T005: Trivial constructor 10:20:46.854 [INFO][pool-9-thread-7][c.d.i.p.w.e] [21/21] See https://diff.blue/T005 10:20:46.857 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/1] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService 10:20:46.857 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/1] Tests created: 32 10:20:46.857 [INFO][pool-9-thread-7][c.d.i.p.w.e] [1/1] Partial tests created: 14 10:20:46.858 [INFO][pool-9-thread-7][c.d.i.p.w.e] 10:20:46.858 [INFO][pool-9-thread-7][c.d.i.p.w.e] Summary: 10:20:46.858 [INFO][pool-9-thread-7][c.d.i.p.w.e] -------- 10:20:46.858 [INFO][pool-9-thread-7][c.d.i.p.w.e] Total: 21 methods 10:20:46.858 [INFO][pool-9-thread-7][c.d.i.p.w.e] 32 tests created for: 18 methods 10:20:46.858 [INFO][pool-9-thread-7][c.d.i.p.w.e] 14 partial tests created for: 13 methods 10:20:46.859 [INFO][pool-9-thread-7][c.d.i.p.w.e] 10:20:46.859 [INFO][pool-9-thread-7][c.d.i.p.w.e] Tested indirectly via other methods: 1 method 10:20:46.859 [INFO][pool-9-thread-7][c.d.i.p.w.e] 1 T005: Trivial constructor 10:20:46.859 [INFO][pool-9-thread-7][c.d.i.p.w.e] No tests created for: 2 methods 10:20:46.859 [INFO][pool-9-thread-7][c.d.i.p.w.e] 2 R026: Failed to create Spring context 10:20:47.687 [INFO][ApplicationImpl pooled thread 941][c.d.i.p.w.e] Will not write a JSON report 10:20:47.687 [INFO][ApplicationImpl pooled thread 941][c.d.i.p.w.e] DIFFBLUE_REPORT_FILE is not set or is not true. Local env value: null, System env value: null 10:20:47.687 [INFO][ApplicationImpl pooled thread 941][c.d.i.p.w.e] License doesn't allow multiple classes 10:20:47.687 [INFO][ApplicationImpl pooled thread 941][c.d.i.p.w.e] License doesn't allow creating report.json 12:10:08.010 [INFO][ApplicationImpl pooled thread 1253][c.d.cover.p.a.a] Using Java version: 11.0.14 12:10:08.010 [INFO][ApplicationImpl pooled thread 1253][c.d.cover.p.a.a] Detected the presence of the following Java-version-dependent Spring dependencies: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Test | Present | 5.3.22 | 12:10:08.087 [INFO][ApplicationImpl pooled thread 1253][c.d.cover.p.a.a] Detected the following dependency's presence and version: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Hamcrest 1 | Not Present | | | Hamcrest 2 | Present | 2.2 | | JSR107 API and SPI (Cache) | Not Present | | | Java Servlet API | Present | | | JUnit Jupiter | Present | 5.8.2 | | JUnit | Present | 3.8.1 | | JUnit Platform Engine | Present | 1.8.2 | | JUnit Platform Launcher | Not Present | | | Mockito | Present | 4.5.1 | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Web | Present | 5.3.22 | | Spring WebMVC | Present | 5.3.22 | | Spring Security Config | Present | 5.7.3 | | Spring Test | Present | 5.3.22 | 12:10:08.441 [INFO][pool-9-thread-8][c.d.i.p.w.e] Found 1 callable method in 1 class 12:10:08.450 [INFO][pool-9-thread-8][c.d.cover.b.b.b] 12:10:08.450 [INFO][pool-9-thread-8][c.d.cover.b.b.b] Creating tests: 12:10:08.450 [INFO][pool-9-thread-8][c.d.cover.b.b.b] --------------- 12:10:08.450 [INFO][pool-9-thread-8][c.d.cover.b.b.b] ================================================================================ = Starting analysis for class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService' ================================================================================ 12:10:08.451 [INFO][pool-9-thread-8][c.d.cover.b.b.b] Filtering out non-testable methods... 12:10:14.094 [INFO][pool-9-thread-8][c.d.cover.b.b.b] Filtering of methods complete. Creating analysis request 12:10:14.094 [INFO][pool-9-thread-8][c.d.c.service.c] Attempting to get service client, retry 1. 12:10:14.095 [INFO][pool-9-thread-8][c.d.c.service.c] Starting monitoring server. 12:10:14.109 [INFO][pool-9-thread-8][c.d.c.service.c] Monitoring server listening on localhost/127.0.0.1:57589 12:10:14.109 [INFO][pool-9-thread-8][c.d.c.service.c] Starting analyzer server process... 12:10:14.109 [INFO][pool-9-thread-8][c.d.c.service.c] Server command-line: C:\Users\ibcol\.jdks\azul-11.0.14.1\bin\java.exe -XX:+IgnoreUnrecognizedVMOptions -Xms128m -Xmx750m -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Xmx16384m -Dide.no.platform.update=true -Dtoolbox.notification.token=wP3i9vqv0vJMrO9tYHANKdGiMrFcq98SOhkmwHGCMwQ= -Dtoolbox.notification.portFile=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.vmoptions.port -Dsplash=true -Dide.native.launcher=true -ea -javaagent:C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar -Dlogback.configurationFile=C:\Users\ibcol\AppData\Local\Temp\diffblue\config\logback-remote-service.xml -Dcom.diffblue.springIsolationJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-isolation-layer-2022.09.01.jar -Dcover.jar.path=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcom.diffblue.assertionSuggestionJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcover.main.class=com.diffblue.cover.service.analyzer.Main -jar C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar --service-lifespan 1800 --monitoring-service-port 57589 --debug-log 12:10:14.112 [INFO][pool-9-thread-8][c.d.c.service.c] Server started. Waiting up to 300 seconds for a connection to be established... 12:10:14.735 [INFO][nullmain][c.d.c.s.a.a.b] Starting new remote monitor client 12:10:15.954 [INFO][analyzer-service:main][c.d.c.s.a.a.b] Attempting to start remote server. 12:10:16.253 [INFO][analyzer-service:main][c.d.c.s.a.a.a] Server started, listening on localhost/127.0.0.1:57634 12:10:17.114 [INFO][pool-9-thread-8][c.d.c.service.c] Expect analyzer service to be listening on port 57634. 12:10:17.180 [INFO][pool-9-thread-8][c.d.c.service.c] Started analyzer service and client retrieved. 12:10:18.957 [INFO][pool-9-thread-8][c.d.cover.b.b.e] Configuration: Dummy analysis engine: false Module: foobar-webapp Classpath: C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\test-classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-libs\target\classes;C:\Users\ibcol\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\ibcol\.m2\repository\com\offbytwo\ulid\ulid\0.1.0\ulid-0.1.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.13.3\jackson-dataformat-xml-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\codehaus\woodstox\stax2-api\4.2.1\stax2-api-4.2.1.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\woodstox\woodstox-core\6.2.7\woodstox-core-6.2.7.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;C:\Users\ibcol\.m2\repository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\geo\0.7.6\geo-0.7.6.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\grumpy-core\0.2.2\grumpy-core-0.2.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;C:\Users\ibcol\.m2\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\Users\ibcol\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ibcol\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\ibcol\.m2\repository\org\hibernate\validator\hibernate-validator\6.2.4.Final\hibernate-validator-6.2.4.Final.jar;C:\Users\ibcol\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.70\bcpkix-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.70\bcprov-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcutil-jdk15on\1.70\bcutil-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-test\5.3.22\spring-test-5.3.22.jar;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-mq\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-tasks\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-cache\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-channels\target\classes;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.7.3\spring-boot-configuration-processor-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-jdbc\2.7.0\spring-session-jdbc-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-core\2.7.0\spring-session-core-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jcl\5.3.22\spring-jcl-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jdbc\5.3.22\spring-jdbc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.7.3\spring-boot-starter-data-jpa-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.7.3\spring-boot-starter-aop-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.7.3\spring-boot-starter-jdbc-2.7.3.jar;C:\Users\ibcol\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-core\5.6.10.Final\hibernate-core-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy\1.12.13\byte-buddy-1.12.13.jar;C:\Users\ibcol\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\ibcol\.m2\repository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;C:\Users\ibcol\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;C:\Users\ibcol\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;C:\Users\ibcol\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-jpa\2.7.2\spring-data-jpa-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-commons\2.7.2\spring-data-commons-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-orm\5.3.22\spring-orm-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aspects\5.3.22\spring-aspects-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-spatial\5.6.10.Final\hibernate-spatial-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;C:\Users\ibcol\.m2\repository\org\geolatte\geolatte-geom\1.8.2\geolatte-geom-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\locationtech\jts\jts-core\1.18.2\jts-core-1.18.2.jar;C:\Users\ibcol\.m2\repository\com\vladmihalcea\hibernate-types-52\2.16.3\hibernate-types-52-2.16.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.13.3\jackson-module-jaxb-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;C:\Users\ibcol\.m2\repository\org\postgresql\postgresql\42.3.6\postgresql-42.3.6.jar;C:\Users\ibcol\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-jdbc\2021.1.0\postgis-jdbc-2021.1.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-geometry\2021.1.0\postgis-geometry-2021.1.0.jar;C:\Users\ibcol\.m2\repository\org\flywaydb\flyway-core\8.5.13\flyway-core-8.5.13.jar;C:\Users\ibcol\.m2\repository\org\influxdb\influxdb-java\2.22\influxdb-java-2.22.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\retrofit\2.9.0\retrofit-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\converter-moshi\2.9.0\converter-moshi-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\moshi\moshi\1.8.0\moshi-1.8.0.jar;C:\Users\ibcol\.m2\repository\org\msgpack\msgpack-core\0.9.0\msgpack-core-0.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\logging-interceptor\4.9.3\logging-interceptor-4.9.3.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context\5.3.22\spring-context-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aop\5.3.22\spring-aop-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-beans\5.3.22\spring-beans-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-core\5.3.22\spring-core-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-expression\5.3.22\spring-expression-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter\2.7.3\spring-boot-starter-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot\2.7.3\spring-boot-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.7.3\spring-boot-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.7.3\spring-boot-starter-logging-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;C:\Users\ibcol\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.7.3\spring-boot-starter-web-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.7.3\spring-boot-starter-json-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.7.3\spring-boot-starter-tomcat-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.65\tomcat-embed-core-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.65\tomcat-embed-websocket-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-web\5.3.22\spring-web-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webmvc\5.3.22\spring-webmvc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-webflux\2.7.3\spring-boot-starter-webflux-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-reactor-netty\2.7.3\spring-boot-starter-reactor-netty-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-http\1.0.22\reactor-netty-http-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http\4.1.79.Final\netty-codec-http-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http2\4.1.79.Final\netty-codec-http2-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns\4.1.79.Final\netty-resolver-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-dns\4.1.79.Final\netty-codec-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-native-macos\4.1.79.Final\netty-resolver-dns-native-macos-4.1.79.Final-osx-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-classes-macos\4.1.79.Final\netty-resolver-dns-classes-macos-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-epoll\4.1.79.Final\netty-transport-native-epoll-4.1.79.Final-linux-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-classes-epoll\4.1.79.Final\netty-transport-classes-epoll-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-core\1.0.22\reactor-netty-core-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler-proxy\4.1.79.Final\netty-handler-proxy-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-socks\4.1.79.Final\netty-codec-socks-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webflux\5.3.22\spring-webflux-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\reactor-core\3.4.22\reactor-core-3.4.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.7.3\spring-boot-starter-validation-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.65\tomcat-embed-el-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-cache\2.7.3\spring-boot-starter-cache-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context-support\5.3.22\spring-context-support-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-redis\2.7.3\spring-boot-starter-data-redis-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-redis\2.7.2\spring-data-redis-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-keyvalue\2.7.2\spring-data-keyvalue-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-oxm\5.3.22\spring-oxm-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\lettuce\lettuce-core\6.1.9.RELEASE\lettuce-core-6.1.9.RELEASE.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-common\4.1.79.Final\netty-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler\4.1.79.Final\netty-handler-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver\4.1.79.Final\netty-resolver-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-buffer\4.1.79.Final\netty-buffer-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.79.Final\netty-transport-native-unix-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec\4.1.79.Final\netty-codec-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport\4.1.79.Final\netty-transport-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr-spring-boot-starter\5.1.6\jobrunr-spring-boot-starter-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr\5.1.6\jobrunr-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\ow2\asm\asm\9.3\asm-9.3.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot-starter\3.0.4\jasypt-spring-boot-starter-3.0.4.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot\3.0.4\jasypt-spring-boot-3.0.4.jar;C:\Users\ibcol\.m2\repository\org\jasypt\jasypt\1.9.3\jasypt-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.7.3\spring-boot-starter-thymeleaf-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf-spring5\3.0.15.RELEASE\thymeleaf-spring5-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf\3.0.15.RELEASE\thymeleaf-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-websocket\2.7.3\spring-boot-starter-websocket-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-messaging\5.3.22\spring-messaging-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-websocket\5.3.22\spring-websocket-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-springsecurity5\3.0.4.RELEASE\thymeleaf-extras-springsecurity5-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\com\google\guava\guava\31.1-jre\guava-31.1-jre.jar;C:\Users\ibcol\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\ibcol\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\ibcol\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\ibcol\.m2\repository\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;C:\Users\ibcol\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-pdf\9.1.22\flying-saucer-pdf-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\lowagie\itext\2.1.7\itext-2.1.7.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-core\9.1.22\flying-saucer-core-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\core\3.5.0\core-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\javase\3.5.0\javase-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\beust\jcommander\1.82\jcommander-1.82.jar;C:\Users\ibcol\.m2\repository\com\github\jai-imageio\jai-imageio-core\1.4.0\jai-imageio-core-1.4.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.7.3\spring-boot-starter-security-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-config\5.7.3\spring-security-config-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-web\5.7.3\spring-security-web-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.7.3\spring-boot-starter-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.3\spring-boot-actuator-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator\2.7.3\spring-boot-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\micrometer\micrometer-core\1.9.3\micrometer-core-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;C:\Users\ibcol\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-core\1.5.1\jgrapht-core-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\jheaps\jheaps\0.13\jheaps-0.13.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-io\1.5.1\jgrapht-io-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\antlr\antlr4-runtime\4.8-1\antlr4-runtime-4.8-1.jar;C:\Users\ibcol\.m2\repository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;C:\Users\ibcol\.m2\repository\org\mapstruct\mapstruct\1.5.2.Final\mapstruct-1.5.2.Final.jar;C:\Users\ibcol\.m2\repository\io\jenetics\jpx\2.3.0\jpx-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\hashids\hashids\1.0.3\hashids-1.0.3.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-ui\1.6.9\springdoc-openapi-ui-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-webmvc-core\1.6.9\springdoc-openapi-webmvc-core-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-common\1.6.9\springdoc-openapi-common-1.6.9.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-core\2.2.0\swagger-core-2.2.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.13.3\jackson-dataformat-yaml-2.13.3.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-annotations\2.2.0\swagger-annotations-2.2.0.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-models\2.2.0\swagger-models-2.2.0.jar;C:\Users\ibcol\.m2\repository\org\webjars\swagger-ui\4.11.1\swagger-ui-4.11.1.jar;C:\Users\ibcol\.m2\repository\org\webjars\webjars-locator-core\0.50\webjars-locator-core-0.50.jar;C:\Users\ibcol\.m2\repository\io\github\classgraph\classgraph\4.8.147\classgraph-4.8.147.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jms\5.3.22\spring-jms-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-tx\5.3.22\spring-tx-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core\3.18.2\camel-core-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-engine\3.18.2\camel-core-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-api\3.18.2\camel-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base-engine\3.18.2\camel-base-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base\3.18.2\camel-base-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-reifier\3.18.2\camel-core-reifier-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-processor\3.18.2\camel-core-processor-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-management-api\3.18.2\camel-management-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util\3.18.2\camel-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-languages\3.18.2\camel-core-languages-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-model\3.18.2\camel-core-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-bean\3.18.2\camel-bean-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-browse\3.18.2\camel-browse-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cluster\3.18.2\camel-cluster-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-controlbus\3.18.2\camel-controlbus-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataformat\3.18.2\camel-dataformat-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataset\3.18.2\camel-dataset-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-direct\3.18.2\camel-direct-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-directvm\3.18.2\camel-directvm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-file\3.18.2\camel-file-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-health\3.18.2\camel-health-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-language\3.18.2\camel-language-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-log\3.18.2\camel-log-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-mock\3.18.2\camel-mock-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-ref\3.18.2\camel-ref-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rest\3.18.2\camel-rest-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-tooling-model\3.18.2\camel-tooling-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-saga\3.18.2\camel-saga-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-scheduler\3.18.2\camel-scheduler-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-seda\3.18.2\camel-seda-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-stub\3.18.2\camel-stub-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-timer\3.18.2\camel-timer-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-validator\3.18.2\camel-validator-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-vm\3.18.2\camel-vm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xpath\3.18.2\camel-xpath-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xslt\3.18.2\camel-xslt-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb\3.18.2\camel-xml-jaxb-3.18.2.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-core\2.3.0\jaxb-core-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxp\3.18.2\camel-xml-jaxp-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-io-util\3.18.2\camel-xml-io-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-jms\3.18.2\camel-jms-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-support\3.18.2\camel-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring\3.18.2\camel-spring-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\geronimo\specs\geronimo-jms_2.0_spec\1.0-alpha-2\geronimo-jms_2.0_spec-1.0-alpha-2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rabbitmq\3.18.2\camel-rabbitmq-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-pool2\2.11.1\commons-pool2-2.11.1.jar;C:\Users\ibcol\.m2\repository\com\rabbitmq\amqp-client\5.14.2\amqp-client-5.14.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-amqp\2.7.3\spring-boot-starter-amqp-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-rabbit\2.4.6\spring-rabbit-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-amqp\2.4.6\spring-amqp-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\retry\spring-retry\1.3.3\spring-retry-1.3.3.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot-starter\3.18.2\camel-spring-boot-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot\3.18.2\camel-spring-boot-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-main\3.18.2\camel-spring-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-main\3.18.2\camel-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util-json\3.18.2\camel-util-json-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb-dsl\3.18.2\camel-xml-jaxb-dsl-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dsl-support\3.18.2\camel-dsl-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-xml\3.18.2\camel-spring-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-xml\3.18.2\camel-core-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cloud\3.18.2\camel-cloud-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-core-starter\3.18.2\camel-core-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-bean-starter\3.18.2\camel-bean-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-browse-starter\3.18.2\camel-browse-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-controlbus-starter\3.18.2\camel-controlbus-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataformat-starter\3.18.2\camel-dataformat-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataset-starter\3.18.2\camel-dataset-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-direct-starter\3.18.2\camel-direct-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-directvm-starter\3.18.2\camel-directvm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-file-starter\3.18.2\camel-file-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-language-starter\3.18.2\camel-language-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-log-starter\3.18.2\camel-log-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-mock-starter\3.18.2\camel-mock-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-ref-starter\3.18.2\camel-ref-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-rest-starter\3.18.2\camel-rest-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-saga-starter\3.18.2\camel-saga-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-scheduler-starter\3.18.2\camel-scheduler-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-seda-starter\3.18.2\camel-seda-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-stub-starter\3.18.2\camel-stub-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-timer-starter\3.18.2\camel-timer-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-validator-starter\3.18.2\camel-validator-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-vm-starter\3.18.2\camel-vm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xpath-starter\3.18.2\camel-xpath-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xslt-starter\3.18.2\camel-xslt-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xml-jaxp-starter\3.18.2\camel-xml-jaxp-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\yaml\snakeyaml\1.32\snakeyaml-1.32.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-reactive-streams-starter\3.18.2\camel-reactive-streams-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-reactive-streams\3.18.2\camel-reactive-streams-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;C:\Users\ibcol\.m2\repository\com\h2database\h2\1.4.197\h2-1.4.197.jar;C:\Users\ibcol\.m2\repository\com\univocity\univocity-parsers\2.9.1\univocity-parsers-2.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;C:\Users\ibcol\.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\ibcol\.m2\repository\org\ddogleg\ddogleg\0.21\ddogleg-0.21.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-core\0.41\ejml-core-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fdense\0.41\ejml-fdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-ddense\0.41\ejml-ddense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-simple\0.41\ejml-simple-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-cdense\0.41\ejml-cdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-zdense\0.41\ejml-zdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fsparse\0.41\ejml-fsparse-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-dsparse\0.41\ejml-dsparse-0.41.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.13.3\jackson-datatype-joda-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-csv\2.13.3\jackson-dataformat-csv-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;C:\Users\ibcol\.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.7.3\spring-boot-starter-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test\2.7.3\spring-boot-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.7.3\spring-boot-test-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\com\jayway\jsonpath\json-path\2.7.0\json-path-2.7.0.jar;C:\Users\ibcol\.m2\repository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\org\assertj\assertj-core\3.22.0\assertj-core-3.22.0.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-core\4.5.1\mockito-core-4.5.1.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy-agent\1.12.13\byte-buddy-agent-1.12.13.jar;C:\Users\ibcol\.m2\repository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-junit-jupiter\4.5.1\mockito-junit-jupiter-4.5.1.jar;C:\Users\ibcol\.m2\repository\org\skyscreamer\jsonassert\1.5.1\jsonassert-1.5.1.jar;C:\Users\ibcol\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\ibcol\.m2\repository\org\xmlunit\xmlunit-core\2.9.0\xmlunit-core-2.9.0.jar;C:\Users\ibcol\.m2\repository\joda-time\joda-time\2.10.14\joda-time-2.10.14.jar;C:\Users\ibcol\.m2\repository\de\micromata\jak\JavaAPIforKml\2.2.1\JavaAPIforKml-2.2.1.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2\jaxb-impl-2.2.jar;C:\Users\ibcol\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\ibcol\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2\jaxb-xjc-2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi\5.2.2\poi-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml\5.2.2\poi-ooxml-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml-lite\5.2.2\poi-ooxml-lite-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\xmlbeans\xmlbeans\5.0.3\xmlbeans-5.0.3.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-compress\1.21\commons-compress-1.21.jar;C:\Users\ibcol\.m2\repository\com\github\virtuald\curvesapi\1.07\curvesapi-1.07.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\testcontainers\1.16.3\testcontainers-1.16.3.jar;C:\Users\ibcol\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest-core\2.2\hamcrest-core-2.2.jar;C:\Users\ibcol\.m2\repository\org\rnorth\duct-tape\duct-tape\1.0.8\duct-tape-1.0.8.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\annotations\17.0.0\annotations-17.0.0.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-api\3.2.12\docker-java-api-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport-zerodep\3.2.12\docker-java-transport-zerodep-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport\3.2.12\docker-java-transport-3.2.12.jar;C:\Users\ibcol\.m2\repository\net\java\dev\jna\jna\5.8.0\jna-5.8.0.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\postgresql\1.16.3\postgresql-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\jdbc\1.16.3\jdbc-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\database-commons\1.16.3\database-commons-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\influxdb\1.17.3\influxdb-1.17.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\junit-jupiter\1.16.3\junit-jupiter-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;C:\Users\ibcol\.m2\repository\io\xlate\staedi\1.19.0\staedi-1.19.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-test\5.1.6.RELEASE\spring-security-test-5.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-core\5.7.3\spring-security-core-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-crypto\5.7.3\spring-security-crypto-5.7.3.jar;C:\Users\ibcol\.m2\repository\com\openpojo\openpojo\0.9.1\openpojo-0.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-text\1.9\commons-text-1.9.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar Index: C:\Users\ibcol\.diffblue\index\foobar-services-c22b7d605935b60729b0ced5056a4582af15cd318e5793d8aae56725440673f9 Iterations: 1000 StopOnFirstSuccess: false MockingPrefixes: [] MockStaticClassNames: [] MockInputObjects: true SpringIntegrationTests: true PerMethodSoftTimeout: PT20S PerMethodHardTimeout: PT30M SpringStartupTimeout: PT10M ReplayTrace: null ActiveSpringProfiles: [] ConfigurationClasses: [] CoverAllEnums: false DisableSecurityPolicy: false 12:10:22.363 [INFO][pool-9-thread-8][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.:(Lus/mycompany/itv/gateway/modules/sensors/service/SensorManagementService;Lus/mycompany/itv/gateway/modules/locations/service/LocationHealthService;Lus/mycompany/itv/gateway/modules/messaging/service/ModificationNotificationMessagingService;Lus/mycompany/itv/gateway/data/timeseries/service/TimeSeriesService;Lus/mycompany/itv/gateway/modules/geo/service/GeocodingService;Lus/mycompany/itv/gateway/modules/locations/utils/LocationUtils;Lus/mycompany/itv/gateway/modules/locations/data/LocationRepository;Lus/mycompany/itv/gateway/modules/locations/data/LocationItemRepository;Lus/mycompany/itv/gateway/modules/locations/model/LocationMapper;Lus/mycompany/itv/gateway/modules/locations/model/LocationItemMapper;Lus/mycompany/itv/gateway/modules/movements/service/submission/MovementEventSubmissionService;Lus/mycompany/itv/gateway/modules/sensors/service/SensorRelationshipService;Lus/mycompany/itv/gateway/modules/locations/service/LocationItemManagementService;Lus/mycompany/itv/gateway/modules/nodes/service/NodeSearchService;)V: T005: Trivial constructor See https://diff.blue/T005 12:10:22.364 [INFO][pool-9-thread-8][c.d.i.p.w.e] [1/1] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService. 12:10:22.364 [INFO][pool-9-thread-8][c.d.i.p.w.e] [1/1] T005: Trivial constructor 12:10:22.364 [INFO][pool-9-thread-8][c.d.i.p.w.e] [1/1] See https://diff.blue/T005 12:10:22.367 [INFO][pool-9-thread-8][c.d.i.p.w.e] [1/1] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService 12:10:22.367 [INFO][pool-9-thread-8][c.d.i.p.w.e] [1/1] Tests created: 0 12:10:22.367 [INFO][pool-9-thread-8][c.d.i.p.w.e] 12:10:22.367 [INFO][pool-9-thread-8][c.d.i.p.w.e] Summary: 12:10:22.367 [INFO][pool-9-thread-8][c.d.i.p.w.e] -------- 12:10:22.368 [INFO][pool-9-thread-8][c.d.i.p.w.e] Total: 1 method 12:10:22.368 [INFO][pool-9-thread-8][c.d.i.p.w.e] 12:10:22.368 [INFO][pool-9-thread-8][c.d.i.p.w.e] Tested indirectly via other methods: 1 method 12:10:22.368 [INFO][pool-9-thread-8][c.d.i.p.w.e] 1 T005: Trivial constructor 12:10:22.467 [INFO][ApplicationImpl pooled thread 1253][c.d.i.p.w.e] Will not write a JSON report 12:10:22.467 [INFO][ApplicationImpl pooled thread 1253][c.d.i.p.w.e] DIFFBLUE_REPORT_FILE is not set or is not true. Local env value: null, System env value: null 12:10:22.467 [INFO][ApplicationImpl pooled thread 1253][c.d.i.p.w.e] License doesn't allow multiple classes 12:10:22.467 [INFO][ApplicationImpl pooled thread 1253][c.d.i.p.w.e] License doesn't allow creating report.json 12:11:51.551 [INFO][ApplicationImpl pooled thread 1263][c.d.cover.p.a.a] Using Java version: 11.0.14 12:11:51.551 [INFO][ApplicationImpl pooled thread 1263][c.d.cover.p.a.a] Detected the presence of the following Java-version-dependent Spring dependencies: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Test | Present | 5.3.22 | 12:11:51.633 [INFO][ApplicationImpl pooled thread 1263][c.d.cover.p.a.a] Detected the following dependency's presence and version: | Dependency: | Is Present? | Version? | | ---------- | ---------- | ------- | | Hamcrest 1 | Not Present | | | Hamcrest 2 | Present | 2.2 | | JSR107 API and SPI (Cache) | Not Present | | | Java Servlet API | Present | | | JUnit Jupiter | Present | 5.8.2 | | JUnit | Present | 3.8.1 | | JUnit Platform Engine | Present | 1.8.2 | | JUnit Platform Launcher | Not Present | | | Mockito | Present | 4.5.1 | | Spring Boot | Present | 2.7.3 | | Spring Boot Test | Present | 2.7.3 | | Spring Core | Present | 5.3.22 | | Spring Web | Present | 5.3.22 | | Spring WebMVC | Present | 5.3.22 | | Spring Security Config | Present | 5.7.3 | | Spring Test | Present | 5.3.22 | 12:11:51.962 [INFO][pool-9-thread-9][c.d.i.p.w.e] Found 21 callable methods in 1 class 12:11:51.971 [INFO][pool-9-thread-9][c.d.cover.b.b.b] 12:11:51.972 [INFO][pool-9-thread-9][c.d.cover.b.b.b] Creating tests: 12:11:51.972 [INFO][pool-9-thread-9][c.d.cover.b.b.b] --------------- 12:11:51.972 [INFO][pool-9-thread-9][c.d.cover.b.b.b] ================================================================================ = Starting analysis for class 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService' ================================================================================ 12:11:51.972 [INFO][pool-9-thread-9][c.d.cover.b.b.b] Filtering out non-testable methods... 12:11:57.292 [INFO][pool-9-thread-9][c.d.cover.b.b.b] Filtering of methods complete. Creating analysis request 12:11:57.292 [INFO][pool-9-thread-9][c.d.c.service.c] Attempting to get service client, retry 1. 12:11:57.293 [INFO][pool-9-thread-9][c.d.c.service.c] Starting monitoring server. 12:11:57.306 [INFO][pool-9-thread-9][c.d.c.service.c] Monitoring server listening on localhost/127.0.0.1:57676 12:11:57.306 [INFO][pool-9-thread-9][c.d.c.service.c] Starting analyzer server process... 12:11:57.306 [INFO][pool-9-thread-9][c.d.c.service.c] Server command-line: C:\Users\ibcol\.jdks\azul-11.0.14.1\bin\java.exe -XX:+IgnoreUnrecognizedVMOptions -Xms128m -Xmx750m -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Xmx16384m -Dide.no.platform.update=true -Dtoolbox.notification.token=wP3i9vqv0vJMrO9tYHANKdGiMrFcq98SOhkmwHGCMwQ= -Dtoolbox.notification.portFile=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.vmoptions.port -Dsplash=true -Dide.native.launcher=true -ea -javaagent:C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar -Dlogback.configurationFile=C:\Users\ibcol\AppData\Local\Temp\diffblue\config\logback-remote-service.xml -Dcom.diffblue.springIsolationJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-isolation-layer-2022.09.01.jar -Dcover.jar.path=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcom.diffblue.assertionSuggestionJar=C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\META-INF\cover-service-analyzer-2022.09.01.jar -Dcover.main.class=com.diffblue.cover.service.analyzer.Main -jar C:\Users\ibcol\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4167.29.plugins\diffblue-cover-ij\lib\launcher-2022.09.01-shared-jar.jar --service-lifespan 1800 --monitoring-service-port 57676 --debug-log 12:11:57.310 [INFO][pool-9-thread-9][c.d.c.service.c] Server started. Waiting up to 300 seconds for a connection to be established... 12:11:57.882 [INFO][nullmain][c.d.c.s.a.a.b] Starting new remote monitor client 12:11:58.982 [INFO][analyzer-service:main][c.d.c.s.a.a.b] Attempting to start remote server. 12:11:59.269 [INFO][analyzer-service:main][c.d.c.s.a.a.a] Server started, listening on localhost/127.0.0.1:57820 12:11:59.312 [INFO][pool-9-thread-9][c.d.c.service.c] Expect analyzer service to be listening on port 57820. 12:11:59.370 [INFO][pool-9-thread-9][c.d.c.service.c] Started analyzer service and client retrieved. 12:12:00.978 [INFO][pool-9-thread-9][c.d.cover.b.b.e] Configuration: Dummy analysis engine: false Module: foobar-webapp Classpath: C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\test-classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-services\foobar-webapp\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-libs\target\classes;C:\Users\ibcol\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\ibcol\.m2\repository\com\offbytwo\ulid\ulid\0.1.0\ulid-0.1.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.13.3\jackson-dataformat-xml-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\codehaus\woodstox\stax2-api\4.2.1\stax2-api-4.2.1.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\woodstox\woodstox-core\6.2.7\woodstox-core-6.2.7.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;C:\Users\ibcol\.m2\repository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\geo\0.7.6\geo-0.7.6.jar;C:\Users\ibcol\.m2\repository\com\github\davidmoten\grumpy-core\0.2.2\grumpy-core-0.2.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;C:\Users\ibcol\.m2\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\Users\ibcol\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ibcol\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\ibcol\.m2\repository\org\hibernate\validator\hibernate-validator\6.2.4.Final\hibernate-validator-6.2.4.Final.jar;C:\Users\ibcol\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.70\bcpkix-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.70\bcprov-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\bouncycastle\bcutil-jdk15on\1.70\bcutil-jdk15on-1.70.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-test\5.3.22\spring-test-5.3.22.jar;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-mq\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-tasks\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-cache\target\classes;C:\Users\ibcol\Documents\Projects\foobar-services\foobar\foobar-common\foobar-channels\target\classes;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.7.3\spring-boot-configuration-processor-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-jdbc\2.7.0\spring-session-jdbc-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\session\spring-session-core\2.7.0\spring-session-core-2.7.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jcl\5.3.22\spring-jcl-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jdbc\5.3.22\spring-jdbc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.7.3\spring-boot-starter-data-jpa-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.7.3\spring-boot-starter-aop-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.7.3\spring-boot-starter-jdbc-2.7.3.jar;C:\Users\ibcol\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\ibcol\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-core\5.6.10.Final\hibernate-core-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy\1.12.13\byte-buddy-1.12.13.jar;C:\Users\ibcol\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\ibcol\.m2\repository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;C:\Users\ibcol\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;C:\Users\ibcol\.m2\repository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;C:\Users\ibcol\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;C:\Users\ibcol\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-jpa\2.7.2\spring-data-jpa-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-commons\2.7.2\spring-data-commons-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-orm\5.3.22\spring-orm-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aspects\5.3.22\spring-aspects-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\hibernate\hibernate-spatial\5.6.10.Final\hibernate-spatial-5.6.10.Final.jar;C:\Users\ibcol\.m2\repository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;C:\Users\ibcol\.m2\repository\org\geolatte\geolatte-geom\1.8.2\geolatte-geom-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\locationtech\jts\jts-core\1.18.2\jts-core-1.18.2.jar;C:\Users\ibcol\.m2\repository\com\vladmihalcea\hibernate-types-52\2.16.3\hibernate-types-52-2.16.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.13.3\jackson-module-jaxb-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;C:\Users\ibcol\.m2\repository\org\postgresql\postgresql\42.3.6\postgresql-42.3.6.jar;C:\Users\ibcol\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-jdbc\2021.1.0\postgis-jdbc-2021.1.0.jar;C:\Users\ibcol\.m2\repository\net\postgis\postgis-geometry\2021.1.0\postgis-geometry-2021.1.0.jar;C:\Users\ibcol\.m2\repository\org\flywaydb\flyway-core\8.5.13\flyway-core-8.5.13.jar;C:\Users\ibcol\.m2\repository\org\influxdb\influxdb-java\2.22\influxdb-java-2.22.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\retrofit\2.9.0\retrofit-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\retrofit2\converter-moshi\2.9.0\converter-moshi-2.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\moshi\moshi\1.8.0\moshi-1.8.0.jar;C:\Users\ibcol\.m2\repository\org\msgpack\msgpack-core\0.9.0\msgpack-core-0.9.0.jar;C:\Users\ibcol\.m2\repository\com\squareup\okhttp3\logging-interceptor\4.9.3\logging-interceptor-4.9.3.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context\5.3.22\spring-context-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-aop\5.3.22\spring-aop-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-beans\5.3.22\spring-beans-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-core\5.3.22\spring-core-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-expression\5.3.22\spring-expression-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter\2.7.3\spring-boot-starter-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot\2.7.3\spring-boot-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.7.3\spring-boot-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.7.3\spring-boot-starter-logging-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;C:\Users\ibcol\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.7.3\spring-boot-starter-web-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.7.3\spring-boot-starter-json-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.7.3\spring-boot-starter-tomcat-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.65\tomcat-embed-core-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.65\tomcat-embed-websocket-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-web\5.3.22\spring-web-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webmvc\5.3.22\spring-webmvc-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-webflux\2.7.3\spring-boot-starter-webflux-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-reactor-netty\2.7.3\spring-boot-starter-reactor-netty-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-http\1.0.22\reactor-netty-http-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http\4.1.79.Final\netty-codec-http-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-http2\4.1.79.Final\netty-codec-http2-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns\4.1.79.Final\netty-resolver-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-dns\4.1.79.Final\netty-codec-dns-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-native-macos\4.1.79.Final\netty-resolver-dns-native-macos-4.1.79.Final-osx-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver-dns-classes-macos\4.1.79.Final\netty-resolver-dns-classes-macos-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-epoll\4.1.79.Final\netty-transport-native-epoll-4.1.79.Final-linux-x86_64.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-classes-epoll\4.1.79.Final\netty-transport-classes-epoll-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\netty\reactor-netty-core\1.0.22\reactor-netty-core-1.0.22.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler-proxy\4.1.79.Final\netty-handler-proxy-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec-socks\4.1.79.Final\netty-codec-socks-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-webflux\5.3.22\spring-webflux-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\projectreactor\reactor-core\3.4.22\reactor-core-3.4.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.7.3\spring-boot-starter-validation-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.65\tomcat-embed-el-9.0.65.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-cache\2.7.3\spring-boot-starter-cache-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-context-support\5.3.22\spring-context-support-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-data-redis\2.7.3\spring-boot-starter-data-redis-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-redis\2.7.2\spring-data-redis-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\data\spring-data-keyvalue\2.7.2\spring-data-keyvalue-2.7.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-oxm\5.3.22\spring-oxm-5.3.22.jar;C:\Users\ibcol\.m2\repository\io\lettuce\lettuce-core\6.1.9.RELEASE\lettuce-core-6.1.9.RELEASE.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-common\4.1.79.Final\netty-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-handler\4.1.79.Final\netty-handler-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-resolver\4.1.79.Final\netty-resolver-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-buffer\4.1.79.Final\netty-buffer-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.79.Final\netty-transport-native-unix-common-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-codec\4.1.79.Final\netty-codec-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\io\netty\netty-transport\4.1.79.Final\netty-transport-4.1.79.Final.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr-spring-boot-starter\5.1.6\jobrunr-spring-boot-starter-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\jobrunr\jobrunr\5.1.6\jobrunr-5.1.6.jar;C:\Users\ibcol\.m2\repository\org\ow2\asm\asm\9.3\asm-9.3.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot-starter\3.0.4\jasypt-spring-boot-starter-3.0.4.jar;C:\Users\ibcol\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot\3.0.4\jasypt-spring-boot-3.0.4.jar;C:\Users\ibcol\.m2\repository\org\jasypt\jasypt\1.9.3\jasypt-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.7.3\spring-boot-starter-thymeleaf-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf-spring5\3.0.15.RELEASE\thymeleaf-spring5-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\thymeleaf\3.0.15.RELEASE\thymeleaf-3.0.15.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-websocket\2.7.3\spring-boot-starter-websocket-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-messaging\5.3.22\spring-messaging-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-websocket\5.3.22\spring-websocket-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-springsecurity5\3.0.4.RELEASE\thymeleaf-extras-springsecurity5-3.0.4.RELEASE.jar;C:\Users\ibcol\.m2\repository\com\google\guava\guava\31.1-jre\guava-31.1-jre.jar;C:\Users\ibcol\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\ibcol\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\ibcol\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\ibcol\.m2\repository\com\google\errorprone\error_prone_annotations\2.11.0\error_prone_annotations-2.11.0.jar;C:\Users\ibcol\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-pdf\9.1.22\flying-saucer-pdf-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\lowagie\itext\2.1.7\itext-2.1.7.jar;C:\Users\ibcol\.m2\repository\org\xhtmlrenderer\flying-saucer-core\9.1.22\flying-saucer-core-9.1.22.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\core\3.5.0\core-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\google\zxing\javase\3.5.0\javase-3.5.0.jar;C:\Users\ibcol\.m2\repository\com\beust\jcommander\1.82\jcommander-1.82.jar;C:\Users\ibcol\.m2\repository\com\github\jai-imageio\jai-imageio-core\1.4.0\jai-imageio-core-1.4.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.7.3\spring-boot-starter-security-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-config\5.7.3\spring-security-config-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-web\5.7.3\spring-security-web-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.7.3\spring-boot-starter-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.3\spring-boot-actuator-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-actuator\2.7.3\spring-boot-actuator-2.7.3.jar;C:\Users\ibcol\.m2\repository\io\micrometer\micrometer-core\1.9.3\micrometer-core-1.9.3.jar;C:\Users\ibcol\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;C:\Users\ibcol\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-core\1.5.1\jgrapht-core-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\jheaps\jheaps\0.13\jheaps-0.13.jar;C:\Users\ibcol\.m2\repository\org\jgrapht\jgrapht-io\1.5.1\jgrapht-io-1.5.1.jar;C:\Users\ibcol\.m2\repository\org\antlr\antlr4-runtime\4.8-1\antlr4-runtime-4.8-1.jar;C:\Users\ibcol\.m2\repository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;C:\Users\ibcol\.m2\repository\org\mapstruct\mapstruct\1.5.2.Final\mapstruct-1.5.2.Final.jar;C:\Users\ibcol\.m2\repository\io\jenetics\jpx\2.3.0\jpx-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\hashids\hashids\1.0.3\hashids-1.0.3.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-ui\1.6.9\springdoc-openapi-ui-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-webmvc-core\1.6.9\springdoc-openapi-webmvc-core-1.6.9.jar;C:\Users\ibcol\.m2\repository\org\springdoc\springdoc-openapi-common\1.6.9\springdoc-openapi-common-1.6.9.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-core\2.2.0\swagger-core-2.2.0.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.13.3\jackson-dataformat-yaml-2.13.3.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-annotations\2.2.0\swagger-annotations-2.2.0.jar;C:\Users\ibcol\.m2\repository\io\swagger\core\v3\swagger-models\2.2.0\swagger-models-2.2.0.jar;C:\Users\ibcol\.m2\repository\org\webjars\swagger-ui\4.11.1\swagger-ui-4.11.1.jar;C:\Users\ibcol\.m2\repository\org\webjars\webjars-locator-core\0.50\webjars-locator-core-0.50.jar;C:\Users\ibcol\.m2\repository\io\github\classgraph\classgraph\4.8.147\classgraph-4.8.147.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-jms\5.3.22\spring-jms-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\springframework\spring-tx\5.3.22\spring-tx-5.3.22.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core\3.18.2\camel-core-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-engine\3.18.2\camel-core-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-api\3.18.2\camel-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base-engine\3.18.2\camel-base-engine-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-base\3.18.2\camel-base-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-reifier\3.18.2\camel-core-reifier-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-processor\3.18.2\camel-core-processor-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-management-api\3.18.2\camel-management-api-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util\3.18.2\camel-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-languages\3.18.2\camel-core-languages-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-model\3.18.2\camel-core-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-bean\3.18.2\camel-bean-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-browse\3.18.2\camel-browse-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cluster\3.18.2\camel-cluster-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-controlbus\3.18.2\camel-controlbus-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataformat\3.18.2\camel-dataformat-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dataset\3.18.2\camel-dataset-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-direct\3.18.2\camel-direct-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-directvm\3.18.2\camel-directvm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-file\3.18.2\camel-file-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-health\3.18.2\camel-health-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-language\3.18.2\camel-language-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-log\3.18.2\camel-log-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-mock\3.18.2\camel-mock-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-ref\3.18.2\camel-ref-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rest\3.18.2\camel-rest-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-tooling-model\3.18.2\camel-tooling-model-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-saga\3.18.2\camel-saga-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-scheduler\3.18.2\camel-scheduler-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-seda\3.18.2\camel-seda-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-stub\3.18.2\camel-stub-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-timer\3.18.2\camel-timer-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-validator\3.18.2\camel-validator-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-vm\3.18.2\camel-vm-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xpath\3.18.2\camel-xpath-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xslt\3.18.2\camel-xslt-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb\3.18.2\camel-xml-jaxb-3.18.2.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-core\2.3.0\jaxb-core-2.3.0.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxp\3.18.2\camel-xml-jaxp-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-io-util\3.18.2\camel-xml-io-util-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-jms\3.18.2\camel-jms-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-support\3.18.2\camel-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring\3.18.2\camel-spring-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\geronimo\specs\geronimo-jms_2.0_spec\1.0-alpha-2\geronimo-jms_2.0_spec-1.0-alpha-2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-rabbitmq\3.18.2\camel-rabbitmq-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-pool2\2.11.1\commons-pool2-2.11.1.jar;C:\Users\ibcol\.m2\repository\com\rabbitmq\amqp-client\5.14.2\amqp-client-5.14.2.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-amqp\2.7.3\spring-boot-starter-amqp-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-rabbit\2.4.6\spring-rabbit-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\amqp\spring-amqp\2.4.6\spring-amqp-2.4.6.jar;C:\Users\ibcol\.m2\repository\org\springframework\retry\spring-retry\1.3.3\spring-retry-1.3.3.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot-starter\3.18.2\camel-spring-boot-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-spring-boot\3.18.2\camel-spring-boot-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-main\3.18.2\camel-spring-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-main\3.18.2\camel-main-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-util-json\3.18.2\camel-util-json-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-xml-jaxb-dsl\3.18.2\camel-xml-jaxb-dsl-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-dsl-support\3.18.2\camel-dsl-support-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-spring-xml\3.18.2\camel-spring-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-core-xml\3.18.2\camel-core-xml-3.18.2.jar;C:\Users\ibcol\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-cloud\3.18.2\camel-cloud-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-core-starter\3.18.2\camel-core-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-bean-starter\3.18.2\camel-bean-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-browse-starter\3.18.2\camel-browse-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-controlbus-starter\3.18.2\camel-controlbus-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataformat-starter\3.18.2\camel-dataformat-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-dataset-starter\3.18.2\camel-dataset-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-direct-starter\3.18.2\camel-direct-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-directvm-starter\3.18.2\camel-directvm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-file-starter\3.18.2\camel-file-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-language-starter\3.18.2\camel-language-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-log-starter\3.18.2\camel-log-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-mock-starter\3.18.2\camel-mock-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-ref-starter\3.18.2\camel-ref-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-rest-starter\3.18.2\camel-rest-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-saga-starter\3.18.2\camel-saga-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-scheduler-starter\3.18.2\camel-scheduler-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-seda-starter\3.18.2\camel-seda-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-stub-starter\3.18.2\camel-stub-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-timer-starter\3.18.2\camel-timer-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-validator-starter\3.18.2\camel-validator-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-vm-starter\3.18.2\camel-vm-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xpath-starter\3.18.2\camel-xpath-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xslt-starter\3.18.2\camel-xslt-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-xml-jaxp-starter\3.18.2\camel-xml-jaxp-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\yaml\snakeyaml\1.32\snakeyaml-1.32.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\springboot\camel-reactive-streams-starter\3.18.2\camel-reactive-streams-starter-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\apache\camel\camel-reactive-streams\3.18.2\camel-reactive-streams-3.18.2.jar;C:\Users\ibcol\.m2\repository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;C:\Users\ibcol\.m2\repository\com\h2database\h2\1.4.197\h2-1.4.197.jar;C:\Users\ibcol\.m2\repository\com\univocity\univocity-parsers\2.9.1\univocity-parsers-2.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;C:\Users\ibcol\.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\ibcol\.m2\repository\org\ddogleg\ddogleg\0.21\ddogleg-0.21.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-core\0.41\ejml-core-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fdense\0.41\ejml-fdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-ddense\0.41\ejml-ddense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-simple\0.41\ejml-simple-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-cdense\0.41\ejml-cdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-zdense\0.41\ejml-zdense-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-fsparse\0.41\ejml-fsparse-0.41.jar;C:\Users\ibcol\.m2\repository\org\ejml\ejml-dsparse\0.41\ejml-dsparse-0.41.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.13.3\jackson-datatype-joda-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-csv\2.13.3\jackson-dataformat-csv-2.13.3.jar;C:\Users\ibcol\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\ibcol\.m2\repository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;C:\Users\ibcol\.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.7.3\spring-boot-starter-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test\2.7.3\spring-boot-test-2.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.7.3\spring-boot-test-autoconfigure-2.7.3.jar;C:\Users\ibcol\.m2\repository\com\jayway\jsonpath\json-path\2.7.0\json-path-2.7.0.jar;C:\Users\ibcol\.m2\repository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;C:\Users\ibcol\.m2\repository\org\assertj\assertj-core\3.22.0\assertj-core-3.22.0.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-core\4.5.1\mockito-core-4.5.1.jar;C:\Users\ibcol\.m2\repository\net\bytebuddy\byte-buddy-agent\1.12.13\byte-buddy-agent-1.12.13.jar;C:\Users\ibcol\.m2\repository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;C:\Users\ibcol\.m2\repository\org\mockito\mockito-junit-jupiter\4.5.1\mockito-junit-jupiter-4.5.1.jar;C:\Users\ibcol\.m2\repository\org\skyscreamer\jsonassert\1.5.1\jsonassert-1.5.1.jar;C:\Users\ibcol\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\ibcol\.m2\repository\org\xmlunit\xmlunit-core\2.9.0\xmlunit-core-2.9.0.jar;C:\Users\ibcol\.m2\repository\joda-time\joda-time\2.10.14\joda-time-2.10.14.jar;C:\Users\ibcol\.m2\repository\de\micromata\jak\JavaAPIforKml\2.2.1\JavaAPIforKml-2.2.1.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2\jaxb-impl-2.2.jar;C:\Users\ibcol\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\ibcol\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\ibcol\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2\jaxb-xjc-2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi\5.2.2\poi-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\ibcol\.m2\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;C:\Users\ibcol\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml\5.2.2\poi-ooxml-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\poi\poi-ooxml-lite\5.2.2\poi-ooxml-lite-5.2.2.jar;C:\Users\ibcol\.m2\repository\org\apache\xmlbeans\xmlbeans\5.0.3\xmlbeans-5.0.3.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-compress\1.21\commons-compress-1.21.jar;C:\Users\ibcol\.m2\repository\com\github\virtuald\curvesapi\1.07\curvesapi-1.07.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\testcontainers\1.16.3\testcontainers-1.16.3.jar;C:\Users\ibcol\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest-core\2.2\hamcrest-core-2.2.jar;C:\Users\ibcol\.m2\repository\org\rnorth\duct-tape\duct-tape\1.0.8\duct-tape-1.0.8.jar;C:\Users\ibcol\.m2\repository\org\jetbrains\annotations\17.0.0\annotations-17.0.0.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-api\3.2.12\docker-java-api-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport-zerodep\3.2.12\docker-java-transport-zerodep-3.2.12.jar;C:\Users\ibcol\.m2\repository\com\github\docker-java\docker-java-transport\3.2.12\docker-java-transport-3.2.12.jar;C:\Users\ibcol\.m2\repository\net\java\dev\jna\jna\5.8.0\jna-5.8.0.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\postgresql\1.16.3\postgresql-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\jdbc\1.16.3\jdbc-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\database-commons\1.16.3\database-commons-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\influxdb\1.17.3\influxdb-1.17.3.jar;C:\Users\ibcol\.m2\repository\org\testcontainers\junit-jupiter\1.16.3\junit-jupiter-1.16.3.jar;C:\Users\ibcol\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;C:\Users\ibcol\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\ibcol\.m2\repository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;C:\Users\ibcol\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\ibcol\.m2\repository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;C:\Users\ibcol\.m2\repository\io\xlate\staedi\1.19.0\staedi-1.19.0.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-test\5.1.6.RELEASE\spring-security-test-5.1.6.RELEASE.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-core\5.7.3\spring-security-core-5.7.3.jar;C:\Users\ibcol\.m2\repository\org\springframework\security\spring-security-crypto\5.7.3\spring-security-crypto-5.7.3.jar;C:\Users\ibcol\.m2\repository\com\openpojo\openpojo\0.9.1\openpojo-0.9.1.jar;C:\Users\ibcol\.m2\repository\org\apache\commons\commons-text\1.9\commons-text-1.9.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;C:\Users\ibcol\.m2\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar Index: C:\Users\ibcol\.diffblue\index\foobar-services-c22b7d605935b60729b0ced5056a4582af15cd318e5793d8aae56725440673f9 Iterations: 1000 StopOnFirstSuccess: false MockingPrefixes: [] MockStaticClassNames: [] MockInputObjects: true SpringIntegrationTests: true PerMethodSoftTimeout: PT20S PerMethodHardTimeout: PT30M SpringStartupTimeout: PT10M ReplayTrace: null ActiveSpringProfiles: [] ConfigurationClasses: [] CoverAllEnums: false DisableSecurityPolicy: false 12:12:02.343 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 12:12:23.362 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:12:23.736 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = "Location Id"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 12:12:23.740 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:12:23.810 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:12:23.823 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = ","; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 12:12:23.823 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:12:23.879 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:12:23.888 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test public void testAddSensorToLocation() { // Arrange String locationId = "\\s+"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 12:12:23.889 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:12:24.360 [INFO][analyzer-service:TimedExecutor-4][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 1.137s, 56.9ms/it 12:12:24.812 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:12:24.825 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:12:24.826 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#addSensorToLocation(String, String)} */ @Test @Ignore("TODO: Complete this test") public void testAddSensorToLocation() { // Arrange String locationId = "42"; String sensorId = "42"; // Act locationManagementService.addSensorToLocation(locationId, sensorId); } } 12:12:24.826 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:12:24.828 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:12:24.828 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 12:12:26.960 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:12:26.963 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:12:26.963 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass20 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:12:26.974 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:12:26.976 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:12:26.976 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass21 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:12:26.991 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:12:26.992 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:12:26.994 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass22 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:12:27.144 [INFO][analyzer-service:TimedExecutor-5][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.214s, 10.7ms/it 12:12:27.487 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:12:27.489 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:12:27.489 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:12:27.490 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass19 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:12:27.490 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:12:27.491 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:12:42.969 [INFO][analyzer-service:TimedExecutor-6][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 1000/1000 its, 14.439s, 14.4ms/it 12:12:42.970 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.limitation.ClassInstantiationException: Could not construct an instance of us.mycompany.itv.gateway.modules.locations.service.LocationManagementService at com.diffblue.fuzztest.a.d.a(SourceFile:2348) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) 12:12:42.970 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:12:42.972 [INFO][analyzer-service:TimedExecutor-10][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 12:13:26.272 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation:(Ljava/lang/String;Ljava/lang/String;)V: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.addSensorToLocation 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] Partial tests created: 1 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] Reasons for partial tests: 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] R026: Failed to create Spring context 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] Attempt to initialize test context failed with 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.util.Assert.state(Assert.java:76) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] when running class: 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] package us.mycompany.itv.gateway.modules.locations.service; 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] @org.springframework.boot.test.context.SpringBootTest 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] public class DiffblueFakeClass1 { 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] @org.junit.Test // if JUnit 4 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] @org.junit.jupiter.api.Test // if JUnit 5 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] public void testSpringContextLoads() {} 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] } 12:13:26.273 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/21] See https://diff.blue/R026 to resolve this issue. 12:13:26.274 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 12:13:27.519 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:13:27.526 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = "Location Id"; // Act locationManagementService.deleteLocation(locationId); } } 12:13:27.526 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass37 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:13:27.571 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:13:27.579 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = ","; // Act locationManagementService.deleteLocation(locationId); } } 12:13:27.579 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass38 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:13:27.624 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:13:27.632 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test public void testDeleteLocation() { // Arrange String locationId = "\\s+"; // Act locationManagementService.deleteLocation(locationId); } } 12:13:27.632 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass39 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:13:38.335 [INFO][analyzer-service:TimedExecutor-11][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.922s, 35.1ms/it 12:13:38.678 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:13:38.685 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:13:38.685 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#deleteLocation(String)} */ @Test @Ignore("TODO: Complete this test") public void testDeleteLocation() { // Arrange String locationId = "42"; // Act locationManagementService.deleteLocation(locationId); } } 12:13:38.685 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass36 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:13:38.685 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:13:38.686 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 12:13:39.596 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:13:39.598 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:13:39.599 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass348 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:13:39.610 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:13:39.612 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:13:39.612 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass349 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:13:39.626 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:13:39.629 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:13:39.629 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass350 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:13:42.038 [INFO][analyzer-service:TimedExecutor-12][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 2.469s, 7.9ms/it 12:13:42.350 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:13:42.354 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:13:42.354 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:13:42.354 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass347 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:13:42.355 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:13:42.357 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:14:31.429 [INFO][analyzer-service:TimedExecutor-13][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 4+0 new+accumulated tests, 3+1 tests+partial tests, 1002/1000 its, 48.518s, 48.4ms/it 12:14:32.860 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 3+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 4 12:14:32.862 [INFO][analyzer-service:TimedExecutor-336][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation:(Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] Tests created: 3 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] Partial tests created: 1 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] Reasons for partial tests: 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] R013: No inputs found that don't throw a trivial exception 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] Diffblue Cover tried to run the arrange/act section, but the method under 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] test threw 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] java.lang.NullPointerException 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.sendLocationNotification(LocationManagementService.java:667) 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.deleteLocation(LocationManagementService.java:582) 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] In order to prevent deleteLocation(String) 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] from throwing NullPointerException, add constructors or factory 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] methods that make it easier to construct fully initialized objects used in 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] deleteLocation(String). 12:14:35.526 [INFO][pool-9-thread-9][c.d.i.p.w.e] [2/21] See https://diff.blue/R013 to resolve this issue. 12:14:35.528 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (it, !fnm)' ================================================================================ 12:14:36.606 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:36.613 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.enrichLocation(location); } } 12:14:36.614 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass658 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:14:36.648 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:36.661 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.enrichLocation(location); } } 12:14:36.661 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass659 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:14:36.695 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:36.701 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test public void testEnrichLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.enrichLocation(location); } } 12:14:36.702 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass660 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:14:38.143 [INFO][analyzer-service:TimedExecutor-337][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 1.696s, 33.3ms/it 12:14:38.380 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:14:38.388 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:14:38.388 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#enrichLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testEnrichLocation() { // Arrange Location location = new Location(); // Act locationManagementService.enrichLocation(location); } } 12:14:38.388 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass657 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:14:38.388 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:14:38.389 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (!it, !fnm)' ================================================================================ 12:14:39.281 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:39.283 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:14:39.283 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass710 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:14:39.290 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:39.292 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:14:39.292 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass711 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:14:39.298 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:39.300 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:14:39.300 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass712 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:14:39.592 [INFO][analyzer-service:TimedExecutor-338][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.386s, 7.3ms/it 12:14:39.803 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:14:39.805 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:14:39.805 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:14:39.805 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass709 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:14:39.806 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:14:39.806 [INFO][analyzer-service:TimedExecutor-339][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:14:50.417 [INFO][analyzer-service:TimedExecutor-339][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 553/1000 its, 10.196s, 18.4ms/it 12:14:50.688 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 12:14:50.688 [INFO][analyzer-service:TimedExecutor-349][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/EnrichedLocation;' using 'SCm (it, !fnm)' ================================================================================ 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] Tests created: 1 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] Partial tests created: 1 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] Reasons for partial tests: 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] R013: No inputs found that don't throw a trivial exception 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] Diffblue Cover tried to run the arrange/act section, but the method under 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] test threw 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] java.lang.NullPointerException 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] at us.mycompany.itv.gateway.modules.locations.service.LocationHealthService.getLocationHealth(LocationHealthService.java:154) 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.enrichLocation(LocationManagementService.java:639) 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] In order to prevent enrichLocation(Location) 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] from throwing NullPointerException, add constructors or factory 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] methods that make it easier to construct fully initialized objects used in 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] enrichLocation(Location). 12:14:52.510 [INFO][pool-9-thread-9][c.d.i.p.w.e] [3/21] See https://diff.blue/R013 to resolve this issue. 12:14:52.511 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 12:14:53.341 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:53.346 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = ","; // Act locationManagementService.findByIcao(icao); } } 12:14:53.346 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass763 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:14:53.384 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:53.389 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = "42"; // Act locationManagementService.findByIcao(icao); } } 12:14:53.389 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass764 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:14:53.428 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:14:53.434 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test public void testFindByIcao() { // Arrange String icao = "\\s+"; // Act locationManagementService.findByIcao(icao); } } 12:14:53.434 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass765 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:15:04.283 [INFO][analyzer-service:TimedExecutor-350][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 11.015s, 35.4ms/it 12:15:04.620 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:15:04.627 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:15:04.627 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByIcao(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByIcao() { // Arrange String icao = "Icao"; // Act locationManagementService.findByIcao(icao); } } 12:15:04.628 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass762 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:15:04.628 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:15:04.629 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 12:15:05.433 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:05.435 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:15:05.435 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1074 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:15:05.442 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:05.444 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:15:05.444 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1075 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:15:05.450 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:05.452 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:15:05.452 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1076 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:15:07.355 [INFO][analyzer-service:TimedExecutor-351][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.936s, 6.2ms/it 12:15:07.684 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:15:07.686 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:15:07.686 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:15:07.686 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1073 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:15:07.687 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:15:07.687 [INFO][analyzer-service:TimedExecutor-352][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:15:21.589 [INFO][analyzer-service:TimedExecutor-352][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 1000/1000 its, 13.518s, 13.5ms/it 12:15:21.589 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.limitation.ClassInstantiationException: Could not construct an instance of us.mycompany.itv.gateway.modules.locations.service.LocationManagementService at com.diffblue.fuzztest.a.d.a(SourceFile:2348) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) 12:15:21.590 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:15:21.590 [INFO][analyzer-service:TimedExecutor-356][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 12:15:22.025 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao:(Ljava/lang/String;)Ljava/util/Optional;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass762 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByIcao 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] Partial tests created: 1 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] Reasons for partial tests: 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] R026: Failed to create Spring context 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] Attempt to initialize test context failed with 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.util.Assert.state(Assert.java:76) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] when running class: 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] package us.mycompany.itv.gateway.modules.locations.service; 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] @org.springframework.boot.test.context.SpringBootTest 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:15:22.025 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] public class DiffblueFakeClass762 { 12:15:22.026 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:15:22.026 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] @org.junit.Test // if JUnit 4 12:15:22.026 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] @org.junit.jupiter.api.Test // if JUnit 5 12:15:22.026 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] public void testSpringContextLoads() {} 12:15:22.026 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] } 12:15:22.026 [INFO][pool-9-thread-9][c.d.i.p.w.e] [4/21] See https://diff.blue/R026 to resolve this issue. 12:15:22.027 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 12:15:23.225 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:23.230 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = "Raw Address"; // Act locationManagementService.findByRawAddress(rawAddress); } } 12:15:23.231 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1384 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:15:23.267 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:23.273 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = ","; // Act locationManagementService.findByRawAddress(rawAddress); } } 12:15:23.273 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1385 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:15:23.313 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:23.318 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test public void testFindByRawAddress() { // Arrange String rawAddress = "42"; // Act locationManagementService.findByRawAddress(rawAddress); } } 12:15:23.318 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1386 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:15:33.164 [INFO][analyzer-service:TimedExecutor-357][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 312/333 its, 10.012s, 32.1ms/it 12:15:33.506 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:15:33.511 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:15:33.511 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByRawAddress(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByRawAddress() { // Arrange String rawAddress = "42 Main St"; // Act locationManagementService.findByRawAddress(rawAddress); } } 12:15:33.512 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1383 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:15:33.512 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:15:33.512 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 12:15:34.317 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:34.319 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:15:34.319 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1696 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:15:34.328 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:34.330 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:15:34.330 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1697 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:15:34.338 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:34.339 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:15:34.339 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1698 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:15:35.950 [INFO][analyzer-service:TimedExecutor-358][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 312/333 its, 1.644s, 5.3ms/it 12:15:36.254 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:15:36.256 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:15:36.256 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:15:36.256 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1695 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:15:36.257 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:15:36.258 [INFO][analyzer-service:TimedExecutor-359][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:15:50.049 [INFO][analyzer-service:TimedExecutor-359][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 1000/1000 its, 13.412s, 13.4ms/it 12:15:50.050 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.limitation.ClassInstantiationException: Could not construct an instance of us.mycompany.itv.gateway.modules.locations.service.LocationManagementService at com.diffblue.fuzztest.a.d.a(SourceFile:2348) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) 12:15:50.050 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:15:50.051 [INFO][analyzer-service:TimedExecutor-363][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 12:15:50.485 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress:(Ljava/lang/String;)Ljava/util/Optional;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass1383 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByRawAddress 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] Partial tests created: 1 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] Reasons for partial tests: 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] R026: Failed to create Spring context 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] Attempt to initialize test context failed with 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.util.Assert.state(Assert.java:76) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] when running class: 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] package us.mycompany.itv.gateway.modules.locations.service; 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] @org.springframework.boot.test.context.SpringBootTest 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] public class DiffblueFakeClass1383 { 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] @org.junit.Test // if JUnit 4 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] @org.junit.jupiter.api.Test // if JUnit 5 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] public void testSpringContextLoads() {} 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] } 12:15:50.485 [INFO][pool-9-thread-9][c.d.i.p.w.e] [5/21] See https://diff.blue/R026 to resolve this issue. 12:15:50.487 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 12:15:51.547 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:51.551 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = ","; // Act locationManagementService.findByUnit(unit); } } 12:15:51.551 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2007 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:15:51.589 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:51.594 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = "42"; // Act locationManagementService.findByUnit(unit); } } 12:15:51.594 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2008 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:15:51.629 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:15:51.634 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test public void testFindByUnit() { // Arrange String unit = "\\s+"; // Act locationManagementService.findByUnit(unit); } } 12:15:51.634 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2009 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:01.413 [INFO][analyzer-service:TimedExecutor-364][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 9.941s, 32.0ms/it 12:16:01.757 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:16:01.764 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:16:01.764 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#findByUnit(String)} */ @Test @Ignore("TODO: Complete this test") public void testFindByUnit() { // Arrange String unit = "Unit"; // Act locationManagementService.findByUnit(unit); } } 12:16:01.764 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2006 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:01.765 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:16:01.765 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 12:16:02.565 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:02.567 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:02.567 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2318 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:02.574 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:02.576 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:02.576 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2319 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:02.582 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:02.583 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:02.584 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2320 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:04.091 [INFO][analyzer-service:TimedExecutor-365][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.538s, 4.9ms/it 12:16:04.395 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:16:04.396 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:16:04.397 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:16:04.397 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2317 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:04.397 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:16:04.397 [INFO][analyzer-service:TimedExecutor-366][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:16:18.228 [INFO][analyzer-service:TimedExecutor-366][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 1000/1000 its, 13.453s, 13.5ms/it 12:16:18.229 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.limitation.ClassInstantiationException: Could not construct an instance of us.mycompany.itv.gateway.modules.locations.service.LocationManagementService at com.diffblue.fuzztest.a.d.a(SourceFile:2348) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) 12:16:18.229 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:16:18.229 [INFO][analyzer-service:TimedExecutor-370][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 12:16:18.668 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit:(Ljava/lang/String;)Ljava/util/Optional;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2006 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.findByUnit 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] Partial tests created: 1 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] Reasons for partial tests: 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] R026: Failed to create Spring context 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] Attempt to initialize test context failed with 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.util.Assert.state(Assert.java:76) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] when running class: 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] package us.mycompany.itv.gateway.modules.locations.service; 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] @org.springframework.boot.test.context.SpringBootTest 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] public class DiffblueFakeClass2006 { 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] @org.junit.Test // if JUnit 4 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] @org.junit.jupiter.api.Test // if JUnit 5 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] public void testSpringContextLoads() {} 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] } 12:16:18.668 [INFO][pool-9-thread-9][c.d.i.p.w.e] [6/21] See https://diff.blue/R026 to resolve this issue. 12:16:18.670 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 12:16:19.878 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:19.882 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = "Location Id"; // Act locationManagementService.getLocation(locationId); } } 12:16:19.883 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2628 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:19.920 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:19.926 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = ","; // Act locationManagementService.getLocation(locationId); } } 12:16:19.926 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2629 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:19.972 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:19.977 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test public void testGetLocation() { // Arrange String locationId = "\\s+"; // Act locationManagementService.getLocation(locationId); } } 12:16:19.977 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2630 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:29.544 [INFO][analyzer-service:TimedExecutor-371][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 9.743s, 31.3ms/it 12:16:29.869 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:16:29.875 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:16:29.875 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocation(String)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocation() { // Arrange String locationId = "42"; // Act locationManagementService.getLocation(locationId); } } 12:16:29.876 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2627 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:29.876 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:16:29.876 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (!it, !fnm)' ================================================================================ 12:16:30.940 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:30.942 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:30.943 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2939 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:30.950 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:30.952 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:30.952 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2940 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:30.960 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:30.962 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:30.962 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2941 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:32.362 [INFO][analyzer-service:TimedExecutor-372][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.435s, 4.6ms/it 12:16:32.670 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:16:32.672 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:16:32.672 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:16:32.672 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2938 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:32.673 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:16:32.673 [INFO][analyzer-service:TimedExecutor-373][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:16:46.503 [INFO][analyzer-service:TimedExecutor-373][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 1000/1000 its, 13.435s, 13.4ms/it 12:16:46.503 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.limitation.ClassInstantiationException: Could not construct an instance of us.mycompany.itv.gateway.modules.locations.service.LocationManagementService at com.diffblue.fuzztest.a.d.a(SourceFile:2348) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) 12:16:46.503 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:16:46.504 [INFO][analyzer-service:TimedExecutor-377][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;' using 'SCm (it, !fnm)' ================================================================================ 12:16:46.936 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation:(Ljava/lang/String;)Ljava/util/Optional;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass2627 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocation 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] Partial tests created: 1 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] Reasons for partial tests: 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] R026: Failed to create Spring context 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] Attempt to initialize test context failed with 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.util.Assert.state(Assert.java:76) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] when running class: 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] package us.mycompany.itv.gateway.modules.locations.service; 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] @org.springframework.boot.test.context.SpringBootTest 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] public class DiffblueFakeClass2627 { 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] @org.junit.Test // if JUnit 4 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] @org.junit.jupiter.api.Test // if JUnit 5 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] public void testSpringContextLoads() {} 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] } 12:16:46.936 [INFO][pool-9-thread-9][c.d.i.p.w.e] [7/21] See https://diff.blue/R026 to resolve this issue. 12:16:46.938 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (it, !fnm)' ================================================================================ 12:16:48.058 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:48.065 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = 0; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 12:16:48.066 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3249 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:48.103 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:48.109 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = -1; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 12:16:48.109 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3250 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:48.147 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:48.153 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test public void testGetLocationCoordinates() { // Arrange int page = -2147483648; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 12:16:48.153 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3251 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:48.471 [INFO][analyzer-service:TimedExecutor-378][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.482s, 26.8ms/it 12:16:48.716 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:16:48.721 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:16:48.721 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCoordinates(Integer, Integer)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCoordinates() { // Arrange int page = 1; int count = 3; // Act locationManagementService.getLocationCoordinates(page, count); } } 12:16:48.722 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3248 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:16:48.722 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:16:48.722 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (!it, !fnm)' ================================================================================ 12:16:49.583 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:49.585 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:49.585 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3265 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:49.592 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:49.593 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:49.593 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3266 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:49.601 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:16:49.603 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:16:49.603 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3267 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:49.669 [INFO][analyzer-service:TimedExecutor-379][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.099s, 5.5ms/it 12:16:49.869 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:16:49.871 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:16:49.871 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:16:49.871 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3264 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:16:49.872 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:16:49.872 [INFO][analyzer-service:TimedExecutor-380][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:17:28.849 [INFO][analyzer-service:TimedExecutor-380][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 3+0 new+accumulated tests, 1+2 tests+partial tests, 1002/1000 its, 38.570s, 38.5ms/it 12:17:29.103 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+2 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 3 12:17:29.103 [INFO][analyzer-service:TimedExecutor-675][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates:(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/Set;' using 'SCm (it, !fnm)' ================================================================================ 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] Tests created: 1 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] Partial tests created: 2 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] Reasons for partial tests: 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] R013: No inputs found that don't throw a trivial exception 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] Diffblue Cover tried to run the arrange/act section, but the method under 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] test threw 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] java.lang.NullPointerException 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at us.mycompany.itv.common.model.geo.dto.Coordinates.compareTo(Coordinates.java:23) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at us.mycompany.itv.common.model.geo.dto.Coordinates.compareTo(Coordinates.java:8) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at java.util.TreeMap.compare(TreeMap.java:1291) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at java.util.TreeMap.put(TreeMap.java:536) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at java.util.TreeSet.add(TreeSet.java:255) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at java.util.AbstractCollection.addAll(AbstractCollection.java:352) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at java.util.TreeSet.addAll(TreeSet.java:312) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at java.util.TreeSet.(TreeSet.java:160) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates(LocationManagementService.java:461) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] In order to prevent getLocationCoordinates(Integer, Integer) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] from throwing NullPointerException, add constructors or factory 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] methods that make it easier to construct fully initialized objects used in 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] getLocationCoordinates(Integer, Integer). 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] See https://diff.blue/R013 to resolve this issue. 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] R013: No inputs found that don't throw a trivial exception 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] Diffblue Cover tried to run the arrange/act section, but the method under 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] test threw 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] java.lang.NullPointerException 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCoordinates(LocationManagementService.java:461) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] In order to prevent getLocationCoordinates(Integer, Integer) 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] from throwing NullPointerException, add constructors or factory 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] methods that make it easier to construct fully initialized objects used in 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] getLocationCoordinates(Integer, Integer). 12:17:32.057 [INFO][pool-9-thread-9][c.d.i.p.w.e] [8/21] See https://diff.blue/R013 to resolve this issue. 12:17:32.058 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (it, !fnm)' ================================================================================ 12:17:33.172 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:17:33.178 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "Location Id"; // Act locationManagementService.getLocationCounts(locationId); } } 12:17:33.178 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3280 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:17:33.218 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:17:33.224 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = ","; // Act locationManagementService.getLocationCounts(locationId); } } 12:17:33.224 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3281 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:17:33.262 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:17:33.267 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "\\s+"; // Act locationManagementService.getLocationCounts(locationId); } } 12:17:33.267 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3282 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:17:43.534 [INFO][analyzer-service:TimedExecutor-676][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.433s, 33.5ms/it 12:17:43.885 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:17:43.889 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:17:43.889 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCounts() { // Arrange String locationId = "42"; // Act locationManagementService.getLocationCounts(locationId); } } 12:17:43.890 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3279 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:17:43.890 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:17:43.890 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (!it, !fnm)' ================================================================================ 12:17:44.687 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:17:44.689 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:17:44.689 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3591 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:17:44.697 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:17:44.699 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:17:44.699 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3592 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:17:44.707 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:17:44.709 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:17:44.709 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3593 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:17:46.259 [INFO][analyzer-service:TimedExecutor-677][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.585s, 5.1ms/it 12:17:46.596 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:17:46.597 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:17:46.597 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:17:46.598 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3590 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:17:46.598 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:17:46.598 [INFO][analyzer-service:TimedExecutor-678][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:18:16.038 [INFO][analyzer-service:TimedExecutor-678][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 506/1000 its, 29.051s, 57.4ms/it 12:18:16.401 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 12:18:16.402 [INFO][analyzer-service:TimedExecutor-912][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;)Ljava/util/Map;' using 'SCm (it, !fnm)' ================================================================================ 12:18:17.392 [INFO][pool-9-thread-9][c.d.i.p.w.e] [9/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts 12:18:17.392 [INFO][pool-9-thread-9][c.d.i.p.w.e] [9/21] Tests created: 1 12:18:17.393 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (it, !fnm)' ================================================================================ 12:18:18.484 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:18.491 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "Location Id"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 12:18:18.491 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3901 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:18:18.530 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:18.536 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = ","; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 12:18:18.536 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3902 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:18:18.573 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:18.579 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test public void testGetLocationCounts() { // Arrange String locationId = "\\s+"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 12:18:18.579 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3903 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:18:19.243 [INFO][analyzer-service:TimedExecutor-913][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.829s, 36.0ms/it 12:18:19.622 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:18:19.627 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:18:19.627 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationCounts(String, ItemType)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationCounts() { // Arrange String locationId = "42"; ItemType type = ItemType.ASSET; // Act locationManagementService.getLocationCounts(locationId, type); } } 12:18:19.627 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3900 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:18:19.627 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:18:19.628 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (!it, !fnm)' ================================================================================ 12:18:20.502 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:20.503 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:18:20.503 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3923 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:18:20.510 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:20.511 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:18:20.511 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3924 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:18:20.517 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:20.520 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:18:20.520 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3925 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:18:20.621 [INFO][analyzer-service:TimedExecutor-914][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.131s, 5.7ms/it 12:18:20.978 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:18:20.980 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:18:20.980 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:18:20.981 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3922 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:18:20.981 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:18:20.981 [INFO][analyzer-service:TimedExecutor-915][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:18:50.766 [INFO][analyzer-service:TimedExecutor-915][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 506/1000 its, 29.295s, 57.9ms/it 12:18:51.121 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 12:18:51.121 [INFO][analyzer-service:TimedExecutor-1149][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/lang/Integer;' using 'SCm (it, !fnm)' ================================================================================ 12:18:52.178 [INFO][pool-9-thread-9][c.d.i.p.w.e] [10/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationCounts 12:18:52.178 [INFO][pool-9-thread-9][c.d.i.p.w.e] [10/21] Tests created: 1 12:18:52.182 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 12:18:53.405 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:53.410 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test public void testGetLocationsAtPosition() { // Arrange double latitude = 0.5d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 12:18:53.410 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3944 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:18:53.447 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:53.451 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test public void testGetLocationsAtPosition() { // Arrange double latitude = -0.5d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 12:18:53.451 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3945 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:18:53.489 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:53.490 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:18:53.490 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3946 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:18:53.599 [INFO][analyzer-service:TimedExecutor-1150][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 12/333 its, 0.268s, 22.3ms/it 12:18:53.977 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:18:53.981 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:18:53.981 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#getLocationsAtPosition(Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testGetLocationsAtPosition() { // Arrange double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.getLocationsAtPosition(latitude, longitude); } } 12:18:53.982 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3943 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:18:53.982 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:18:53.982 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 12:18:55.151 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:55.153 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:18:55.153 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3954 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:18:55.160 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:55.162 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:18:55.162 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3955 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:18:55.171 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:18:55.173 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:18:55.173 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3956 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:18:55.194 [INFO][analyzer-service:TimedExecutor-1151][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 12/333 its, 0.058s, 4.8ms/it 12:18:55.534 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:18:55.535 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:18:55.536 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:18:55.536 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3953 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:18:55.536 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:18:55.536 [INFO][analyzer-service:TimedExecutor-1152][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:19:33.425 [INFO][analyzer-service:TimedExecutor-1152][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 1+1 tests+partial tests, 1002/1000 its, 37.480s, 37.4ms/it 12:19:33.913 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1+1 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 12:19:33.914 [INFO][analyzer-service:TimedExecutor-1427][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition:(Ljava/lang/Double;Ljava/lang/Double;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] Tests created: 1 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] Partial tests created: 1 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] Reasons for partial tests: 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] R013: No inputs found that don't throw a trivial exception 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] Diffblue Cover tried to run the arrange/act section, but the method under 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] test threw 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] java.lang.NullPointerException 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] at java.util.Objects.requireNonNull(Objects.java:221) 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.getLocationsAtPosition(LocationManagementService.java:423) 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] In order to prevent getLocationsAtPosition(Double, Double) 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] from throwing NullPointerException, add constructors or factory 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] methods that make it easier to construct fully initialized objects used in 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] getLocationsAtPosition(Double, Double). 12:19:35.991 [INFO][pool-9-thread-9][c.d.i.p.w.e] [11/21] See https://diff.blue/R013 to resolve this issue. 12:19:35.992 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (it, !fnm)' ================================================================================ 12:19:37.367 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:19:37.372 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = "Location Id"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 12:19:37.373 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3963 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:19:37.411 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:19:37.416 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = ","; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 12:19:37.416 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3964 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:19:37.452 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:19:37.456 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test public void testIsPositionAtLocation() { // Arrange String locationId = "\\s+"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 12:19:37.456 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3965 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:19:37.813 [INFO][analyzer-service:TimedExecutor-1428][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 21/333 its, 0.516s, 24.6ms/it 12:19:38.222 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:19:38.226 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:19:38.226 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#isPositionAtLocation(String, Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testIsPositionAtLocation() { // Arrange String locationId = "42"; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.isPositionAtLocation(locationId, latitude, longitude); } } 12:19:38.226 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3962 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:19:38.226 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:19:38.227 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (!it, !fnm)' ================================================================================ 12:19:39.139 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:19:39.140 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:19:39.141 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3980 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:19:39.147 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:19:39.148 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:19:39.148 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3981 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:19:39.154 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:19:39.156 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:19:39.156 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3982 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:19:39.214 [INFO][analyzer-service:TimedExecutor-1429][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 21/333 its, 0.085s, 4.0ms/it 12:19:39.566 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:19:39.568 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:19:39.568 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:19:39.568 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3979 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:19:39.568 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:19:39.569 [INFO][analyzer-service:TimedExecutor-1430][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:20:16.695 [INFO][analyzer-service:TimedExecutor-1430][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 36.708s, 36.6ms/it 12:20:17.199 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 12:20:17.200 [INFO][analyzer-service:TimedExecutor-1708][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation:(Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;)Z' using 'SCm (it, !fnm)' ================================================================================ 12:20:19.381 [INFO][pool-9-thread-9][c.d.i.p.w.e] [12/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.isPositionAtLocation 12:20:19.381 [INFO][pool-9-thread-9][c.d.i.p.w.e] [12/21] Tests created: 2 12:20:19.383 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (it, !fnm)' ================================================================================ 12:20:20.454 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:20:20.459 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = "Location Id"; // Act locationManagementService.locationExists(locationId); } } 12:20:20.459 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3996 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:20:20.493 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:20:20.499 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = ","; // Act locationManagementService.locationExists(locationId); } } 12:20:20.499 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3997 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:20:20.533 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:20:20.538 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test public void testLocationExists() { // Arrange String locationId = "\\s+"; // Act locationManagementService.locationExists(locationId); } } 12:20:20.538 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3998 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:20:31.010 [INFO][analyzer-service:TimedExecutor-1709][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 10.624s, 34.2ms/it 12:20:31.340 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:20:31.344 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:20:31.344 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#locationExists(String)} */ @Test @Ignore("TODO: Complete this test") public void testLocationExists() { // Arrange String locationId = "42"; // Act locationManagementService.locationExists(locationId); } } 12:20:31.344 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass3995 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:20:31.345 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:20:31.345 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (!it, !fnm)' ================================================================================ 12:20:32.183 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:20:32.184 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:20:32.184 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4307 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:20:32.191 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:20:32.193 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:20:32.193 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4308 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:20:32.200 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:20:32.201 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:20:32.201 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4309 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:20:33.664 [INFO][analyzer-service:TimedExecutor-1710][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 311/333 its, 1.499s, 4.8ms/it 12:20:33.979 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:20:33.980 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == begin partial test == 12:20:33.980 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:20:33.980 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4306 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:20:33.981 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] == end partial test == 12:20:33.981 [INFO][analyzer-service:TimedExecutor-1711][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:21:10.570 [INFO][analyzer-service:TimedExecutor-1711][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 36.211s, 36.1ms/it 12:21:11.066 [INFO][analyzer-service:grpc-default-executor-2][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 12:21:11.066 [INFO][analyzer-service:TimedExecutor-1989][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists:(Ljava/lang/String;)Ljava/lang/Boolean;' using 'SCm (it, !fnm)' ================================================================================ 12:21:15.776 [INFO][pool-9-thread-9][c.d.i.p.w.e] [13/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.locationExists 12:21:15.776 [INFO][pool-9-thread-9][c.d.i.p.w.e] [13/21] Tests created: 2 12:21:15.777 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (it, !fnm)' ================================================================================ 12:21:17.244 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:17.250 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = "Item Id"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 12:21:17.250 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4617 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:21:17.285 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:17.290 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = ","; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 12:21:17.291 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4618 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:21:17.325 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:17.331 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test public void testProcessItemLocationUpdates() { // Arrange String itemId = "\\s+"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 12:21:17.331 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4619 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:21:18.077 [INFO][analyzer-service:TimedExecutor-1990][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 33/333 its, 0.908s, 27.5ms/it 12:21:18.446 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:21:18.452 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:21:18.452 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#processItemLocationUpdates(String, ItemType, Double, Double)} */ @Test @Ignore("TODO: Complete this test") public void testProcessItemLocationUpdates() { // Arrange String itemId = "42"; ItemType type = ItemType.ASSET; double latitude = 10.0d; double longitude = 10.0d; // Act locationManagementService.processItemLocationUpdates(itemId, type, latitude, longitude); } } 12:21:18.452 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4616 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:21:18.453 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:21:18.454 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (!it, !fnm)' ================================================================================ 12:21:19.385 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:19.387 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:21:19.387 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4645 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:21:19.395 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:19.396 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:21:19.397 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4646 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:21:19.405 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:19.407 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:21:19.407 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4647 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:21:19.541 [INFO][analyzer-service:TimedExecutor-1991][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 33/333 its, 0.169s, 5.1ms/it 12:21:19.890 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:21:19.892 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:21:19.892 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:21:19.892 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4644 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:21:19.892 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:21:19.893 [INFO][analyzer-service:TimedExecutor-1992][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:21:49.726 [INFO][analyzer-service:TimedExecutor-1992][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 510/1000 its, 29.429s, 57.7ms/it 12:21:50.072 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 12:21:50.072 [INFO][analyzer-service:TimedExecutor-2224][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;Ljava/lang/Double;Ljava/lang/Double;)V' using 'SCm (it, !fnm)' ================================================================================ 12:21:51.100 [INFO][pool-9-thread-9][c.d.i.p.w.e] [14/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.processItemLocationUpdates 12:21:51.100 [INFO][pool-9-thread-9][c.d.i.p.w.e] [14/21] Tests created: 1 12:21:51.101 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 12:21:52.450 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:52.454 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = "Location Id"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 12:21:52.454 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4672 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:21:52.491 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:52.495 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = ","; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 12:21:52.495 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4673 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:21:52.534 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:52.538 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test public void testRemoveSensorFromLocation() { // Arrange String locationId = "\\s+"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 12:21:52.538 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4674 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:21:52.931 [INFO][analyzer-service:TimedExecutor-2225][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.563s, 28.2ms/it 12:21:53.342 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:21:53.346 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:21:53.346 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#removeSensorFromLocation(String, String)} */ @Test @Ignore("TODO: Complete this test") public void testRemoveSensorFromLocation() { // Arrange String locationId = "42"; String sensorId = "42"; // Act locationManagementService.removeSensorFromLocation(locationId, sensorId); } } 12:21:53.346 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4671 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:21:53.346 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:21:53.346 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (!it, !fnm)' ================================================================================ 12:21:54.550 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:54.551 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:21:54.551 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4690 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:21:54.557 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:54.559 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:21:54.559 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4691 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:21:54.565 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:21:54.567 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:21:54.567 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4692 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:21:54.631 [INFO][analyzer-service:TimedExecutor-2226][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 20/333 its, 0.091s, 4.6ms/it 12:21:54.979 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:21:54.980 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:21:54.980 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:21:54.981 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4689 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:21:54.981 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:21:54.981 [INFO][analyzer-service:TimedExecutor-2227][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:22:08.866 [INFO][analyzer-service:TimedExecutor-2227][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 1000/1000 its, 13.460s, 13.5ms/it 12:22:08.866 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.limitation.ClassInstantiationException: Could not construct an instance of us.mycompany.itv.gateway.modules.locations.service.LocationManagementService at com.diffblue.fuzztest.a.d.a(SourceFile:2348) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) 12:22:08.867 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:22:08.867 [INFO][analyzer-service:TimedExecutor-2231][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V' using 'SCm (it, !fnm)' ================================================================================ 12:22:09.475 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation:(Ljava/lang/String;Ljava/lang/String;)V: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4671 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.removeSensorFromLocation 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] Partial tests created: 1 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] Reasons for partial tests: 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] R026: Failed to create Spring context 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] Attempt to initialize test context failed with 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.util.Assert.state(Assert.java:76) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] when running class: 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] package us.mycompany.itv.gateway.modules.locations.service; 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] @org.springframework.boot.test.context.SpringBootTest 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] public class DiffblueFakeClass4671 { 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] @org.junit.Test // if JUnit 4 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] @org.junit.jupiter.api.Test // if JUnit 5 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] public void testSpringContextLoads() {} 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] } 12:22:09.475 [INFO][pool-9-thread-9][c.d.i.p.w.e] [15/21] See https://diff.blue/R026 to resolve this issue. 12:22:09.477 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 12:22:11.021 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:11.026 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.saveLocation(location); } } 12:22:11.026 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4707 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:22:11.064 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:11.071 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.saveLocation(location); } } 12:22:11.071 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4708 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:22:11.109 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:11.114 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test public void testSaveLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.saveLocation(location); } } 12:22:11.114 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4709 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:22:12.689 [INFO][analyzer-service:TimedExecutor-2232][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 1.799s, 35.3ms/it 12:22:12.926 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:22:12.930 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:22:12.930 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testSaveLocation() { // Arrange Location location = new Location(); // Act locationManagementService.saveLocation(location); } } 12:22:12.930 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4706 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:22:12.930 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:22:12.931 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (!it, !fnm)' ================================================================================ 12:22:13.938 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:13.940 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:22:13.940 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4759 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:22:13.947 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:13.949 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:22:13.949 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4760 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:22:13.956 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:13.957 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:22:13.958 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4761 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:22:14.215 [INFO][analyzer-service:TimedExecutor-2233][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.362s, 6.8ms/it 12:22:14.418 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:22:14.421 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:22:14.421 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:22:14.421 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4758 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:22:14.421 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:22:14.421 [INFO][analyzer-service:TimedExecutor-2234][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:22:24.951 [INFO][analyzer-service:TimedExecutor-2234][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 553/1000 its, 10.099s, 18.3ms/it 12:22:25.156 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, here is the last one: 12:22:25.295 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:22:25.295 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import static org.mockito.Mockito.mock; import org.junit.Ignore; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.crypto.argon2.Argon2PasswordEncoder; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationDistributionService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.notifications.service.UserNotificationManagementService; import us.mycompany.itv.gateway.modules.notifications.service.handlers.ConvoyNotificationHandler; import us.mycompany.itv.gateway.modules.notifications.service.handlers.GeneralNotificationHandler; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.gateway.userauth.data.UserRepository; import us.mycompany.itv.gateway.userauth.model.UserMapperImpl; import us.mycompany.itv.gateway.userauth.service.UserService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationManagementServiceTest { /** * Method under test: {@link LocationManagementService#saveLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testSaveLocation() { // Arrange TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService1, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService3, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService2, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); SensorHealthService sensorHealthService1 = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService4, null, null, null, null, null, null, null, vehicleManagementService1, vehicleCargoService1, null, new TransitStatsManagementService(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService5, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService6, null, personRepository, personMapper, new SensorRelationshipService()); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, itemMovementManagementService2, shipmentManagementService1, locationManagementService1, personManagementService, vehicleManagementService2, unitAssetManagementService1, new SensorManagementService(timeSeriesService7, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService())); SensorNotificationService sensorNotificationService1 = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService( new GeocodingService(null, new WebClientUtils())); MessagingService messagingService1 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService3, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService2, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService3, locationManagementService2, locationItemManagementService, vehicleManagementService4, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService5, null, null, null, locationItemRepository4, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService10, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService1, personManagementService1, new NotificationService(null)); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService1, shipmentManagementService2, unitAssetManagementService2, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); SensorHealthService sensorHealthService2 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService2 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService3 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService11, sensorHealthService2, sensorNotificationService2, itemMovementManagementService5, locationManagementService3, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService13, null, locationUtils4, locationRepository4, locationItemRepository6, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService4, timeSeriesService14, healthEventService1, auditLogSubmissionService1, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(null); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService7, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService16, null, null, null, null, null, null, null, vehicleManagementService8, vehicleCargoService3, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, locationEventManagementService, shipmentManagementService3, unitAssetManagementService3, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService17, null, locationUtils6, locationRepository6, locationItemRepository9, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService6 = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService3, timeSeriesService15, geocodingService, locationUtils5, locationRepository5, locationItemRepository7, locationMapper5, locationItemMapper5, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService2, new NodeSearchService(locationManagementService5, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService1, sensorNotificationService1, itemMovementManagementService4, locationManagementService6, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); SensorHealthService sensorHealthService3 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService3 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); LocationManagementService locationManagementService7 = new LocationManagementService(null, null, null, timeSeriesService19, null, locationUtils7, locationRepository7, locationItemRepository10, locationMapper7, locationItemMapper7, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService18, sensorHealthService3, sensorNotificationService3, itemMovementManagementService6, locationManagementService7, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService20, null, locationUtils8, locationRepository8, locationItemRepository11, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService1 = new LocationHealthService(locationManagementService8, timeSeriesService21, healthEventService2, auditLogSubmissionService2, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); GeoCacheService geoCacheService1 = new GeoCacheService(null); GeocodingService geocodingService1 = new GeocodingService(geoCacheService1, new WebClientUtils()); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService10, locationEventRepository1, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService23, null, null, null, null, null, null, null, vehicleManagementService11, vehicleCargoService4, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService9, locationEventManagementService1, shipmentManagementService4, unitAssetManagementService4, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService24, null, locationUtils10, locationRepository10, locationItemRepository14, locationMapper10, locationItemMapper10, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService4, timeSeriesService22, geocodingService1, locationUtils9, locationRepository9, locationItemRepository12, locationMapper9, locationItemMapper9, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService3, new NodeSearchService(locationManagementService9, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService1 = new EventSubmissionService(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, eventSubmissionService1, new HealthEventMQService(new RabbitTemplate())); UserRepository userRepository = mock(UserRepository.class); UserMapperImpl userMapper = new UserMapperImpl(); UserService userService = new UserService(userRepository, userMapper, new Argon2PasswordEncoder(), null); AuditLogRepository auditLogRepository1 = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService( new AuditLogService(userService, auditLogRepository1, new AuditLogMapperImpl())); MessagingService messagingService3 = new MessagingService(null); ConvoyNotificationHandler convoyNotificationHandler = new ConvoyNotificationHandler(null); GeneralNotificationHandler generalNotificationHandler = new GeneralNotificationHandler(null); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService10, timeSeriesService25, healthEventService3, auditLogSubmissionService3, new NotificationService(new NotificationProcessingService(messagingService3, convoyNotificationHandler, generalNotificationHandler, new NotificationDistributionService(null, null, new UserNotificationManagementService(), null, null, null, null, null, null, null, null)))); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); GeoCacheService geoCacheService2 = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService2, new WebClientUtils()); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); MessagingService messagingService4 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService28, null, locationUtils12, locationRepository12, locationItemRepository16, locationMapper12, locationItemMapper12, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService27, messagingService4, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService7, locationManagementService11, locationItemManagementService4, vehicleManagementService14, vehicleCargoService5, modificationNotificationMessagingService6, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService15, null, null, null, locationItemRepository18, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, null, personRepository2, personMapper2, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService7, locationItemManagementService5, personManagementService2, new NotificationService(null)); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService17, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService5, unitAssetManagementService5, vehicleManagementService16, locationEventRepository2, locationEventMapper, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService8 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService18, vehicleCargoService6, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository4 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper4 = new HealthEventMapperImpl(); HealthEventService healthEventService4 = new HealthEventService(healthEventRepository4, healthEventMapper4, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService8, shipmentManagementService6, healthEventService4, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(null); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils13 = new LocationUtils(); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper13 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper13 = new LocationItemMapperImpl(); LocationManagementService locationManagementService12 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils13, locationRepository13, locationItemRepository19, locationMapper13, locationItemMapper13, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService4 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService12, auditLogSubmissionService4, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService19, vehicleCargoService7, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService9 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService7, unitAssetManagementService6, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils14 = new LocationUtils(); LocationRepository locationRepository14 = mock(LocationRepository.class); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper14 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper14 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService20, null, null, null, locationItemRepository21, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService13 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService8, timeSeriesService36, geocodingService3, locationUtils14, locationRepository14, locationItemRepository20, locationMapper14, locationItemMapper14, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService6, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService22, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService23, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService21, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService7, locationItemRepository22, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService9, locationManagementService13, locationItemManagementService7, vehicleManagementService24, vehicleCargoService9, modificationNotificationMessagingService9, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils15 = new LocationUtils(); LocationRepository locationRepository15 = mock(LocationRepository.class); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper15 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper15 = new LocationItemMapperImpl(); LocationManagementService locationManagementService14 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils15, locationRepository15, locationItemRepository23, locationMapper15, locationItemMapper15, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService14, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService39, null, personRepository3, personMapper3, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService26, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService25, locationEventManagementService5, shipmentManagementService10, unitAssetManagementService8, locationItemRepository24, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( null); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService11, personRepository4, personMapper4, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService10, locationItemManagementService8, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService12, locationEventManagementService3, shipmentManagementService9, unitAssetManagementService9, locationItemRepository25, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); SensorHealthService sensorHealthService4 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService4 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService10 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); LocationUtils locationUtils16 = new LocationUtils(); LocationRepository locationRepository16 = mock(LocationRepository.class); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper16 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper16 = new LocationItemMapperImpl(); LocationManagementService locationManagementService15 = new LocationManagementService(null, null, null, timeSeriesService43, null, locationUtils16, locationRepository16, locationItemRepository26, locationMapper16, locationItemMapper16, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService42, sensorHealthService4, sensorNotificationService4, itemMovementManagementService10, locationManagementService15, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); LocationUtils locationUtils17 = new LocationUtils(); LocationRepository locationRepository17 = mock(LocationRepository.class); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper17 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper17 = new LocationItemMapperImpl(); LocationManagementService locationManagementService16 = new LocationManagementService(null, null, null, timeSeriesService44, null, locationUtils17, locationRepository17, locationItemRepository27, locationMapper17, locationItemMapper17, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); HealthEventRepository healthEventRepository5 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper5 = new HealthEventMapperImpl(); HealthEventService healthEventService5 = new HealthEventService(healthEventRepository5, healthEventMapper5, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService5 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService4 = new LocationHealthService(locationManagementService16, timeSeriesService45, healthEventService5, auditLogSubmissionService5, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService46 = new TimeSeriesService(); GeoCacheService geoCacheService3 = new GeoCacheService(null); GeocodingService geocodingService4 = new GeocodingService(geoCacheService3, new WebClientUtils()); LocationUtils locationUtils18 = new LocationUtils(); LocationRepository locationRepository18 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper18 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper18 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService29, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService47 = new TimeSeriesService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService47, null, null, null, null, null, null, null, vehicleManagementService30, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService28, locationEventManagementService6, shipmentManagementService11, unitAssetManagementService10, locationItemRepository29, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService48 = new TimeSeriesService(); LocationUtils locationUtils19 = new LocationUtils(); LocationRepository locationRepository19 = mock(LocationRepository.class); LocationItemRepository locationItemRepository30 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper19 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper19 = new LocationItemMapperImpl(); LocationManagementService locationManagementService17 = new LocationManagementService(null, null, null, timeSeriesService48, null, locationUtils19, locationRepository19, locationItemRepository30, locationMapper19, locationItemMapper19, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService18 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService12, timeSeriesService46, geocodingService4, locationUtils18, locationRepository18, locationItemRepository28, locationMapper18, locationItemMapper18, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService10, new NodeSearchService(locationManagementService17, nodeItemRepository3, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService19 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService5, timeSeriesService26, geocodingService2, locationUtils11, locationRepository11, locationItemRepository15, locationMapper11, locationItemMapper11, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService9, new NodeSearchService(locationManagementService18, nodeItemRepository4, new NodeItemMapperImpl())); Location location = new Location(); // Act locationManagementService19.saveLocation(location); } } 12:22:25.296 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.NoNonThrowingInputsException: No generated test that does not throw a trivial exception: java.lang.NullPointerException at com.diffblue.fuzztest.a.d.a(SourceFile:400) at com.diffblue.fuzztest.a.d.a(SourceFile:2727) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.NullPointerException: null at us.mycompany.itv.gateway.modules.locations.utils.LocationUtils.generateStaleTimestamp(LocationUtils.java:29) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationDetails(LocationManagementService.java:684) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation(LocationManagementService.java:515) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.diffblue.tir.a.h.a(SourceFile:73) at com.diffblue.tir.a.a.c.a(SourceFile:728) at com.diffblue.tir.a.f.a(SourceFile:414) at com.diffblue.tir.a.f.b(SourceFile:80) at com.diffblue.tir.d.e.a(SourceFile:37) at com.diffblue.tir.a.g.a(SourceFile:219) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted 12:22:25.296 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:22:25.296 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:22:25.296 [INFO][analyzer-service:TimedExecutor-2239][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 12:22:25.913 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4706 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.saveLocation 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] Partial tests created: 1 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] Reasons for partial tests: 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] R026: Failed to create Spring context 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] Attempt to initialize test context failed with 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.util.Assert.state(Assert.java:76) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] when running class: 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] package us.mycompany.itv.gateway.modules.locations.service; 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] @org.springframework.boot.test.context.SpringBootTest 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] public class DiffblueFakeClass4706 { 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] @org.junit.Test // if JUnit 4 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] @org.junit.jupiter.api.Test // if JUnit 5 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] public void testSpringContextLoads() {} 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] } 12:22:25.914 [INFO][pool-9-thread-9][c.d.i.p.w.e] [16/21] See https://diff.blue/R026 to resolve this issue. 12:22:25.916 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 12:22:27.284 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:27.290 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = "Item Id"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 12:22:27.290 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4812 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:22:27.328 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:27.332 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = ","; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 12:22:27.332 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4813 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:22:27.371 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:27.376 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test public void testSearchLocations() { // Arrange String itemId = "\\s+"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 12:22:27.376 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4814 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:22:27.911 [INFO][analyzer-service:TimedExecutor-2240][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.707s, 30.7ms/it 12:22:28.275 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:22:28.279 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:22:28.279 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.common.ItemType; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(String, ItemType)} */ @Test @Ignore("TODO: Complete this test") public void testSearchLocations() { // Arrange String itemId = "42"; ItemType type = ItemType.ASSET; // Act locationManagementService.searchLocations(itemId, type); } } 12:22:28.280 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4811 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:22:28.280 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:22:28.280 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (!it, !fnm)' ================================================================================ 12:22:29.190 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:29.193 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:22:29.193 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4834 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:22:29.198 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:29.200 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:22:29.200 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4835 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:22:29.206 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:22:29.207 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:22:29.207 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4836 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:22:29.290 [INFO][analyzer-service:TimedExecutor-2241][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 23/333 its, 0.111s, 4.8ms/it 12:22:29.640 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:22:29.641 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == begin partial test == 12:22:29.641 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:22:29.641 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4833 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:22:29.641 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] == end partial test == 12:22:29.642 [INFO][analyzer-service:TimedExecutor-2242][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:22:58.758 [INFO][analyzer-service:TimedExecutor-2242][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 1+0 tests+partial tests, 505/1000 its, 28.695s, 56.8ms/it 12:22:59.105 [INFO][analyzer-service:grpc-default-executor-1][c.d.fuzztest.d.r] Created 1+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 1 12:22:59.105 [INFO][analyzer-service:TimedExecutor-2475][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Ljava/lang/String;Lus/mycompany/itv/common/model/common/ItemType;)Ljava/util/List;' using 'SCm (it, !fnm)' ================================================================================ 12:23:00.201 [INFO][pool-9-thread-9][c.d.i.p.w.e] [17/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations 12:23:00.201 [INFO][pool-9-thread-9][c.d.i.p.w.e] [17/21] Tests created: 1 12:23:00.202 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (it, !fnm)' ================================================================================ 12:23:01.732 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:01.737 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria("Location URI"); // Act locationManagementService.searchLocations(searchCriteria); } } 12:23:01.737 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4855 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:23:01.774 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:01.778 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = null; // Act locationManagementService.searchLocations(searchCriteria); } } 12:23:01.778 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4856 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:23:01.813 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:01.818 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria(1, 3, "42"); // Act locationManagementService.searchLocations(searchCriteria); } } 12:23:01.818 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4857 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:23:03.115 [INFO][analyzer-service:TimedExecutor-2476][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 36/333 its, 1.491s, 41.4ms/it 12:23:03.351 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:23:03.355 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:23:03.355 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.dto.LocationSearchCriteria; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#searchLocations(LocationSearchCriteria)} */ @Test @Ignore("TODO: Complete this test") public void testSearchLocations() { // Arrange LocationSearchCriteria searchCriteria = new LocationSearchCriteria(); // Act locationManagementService.searchLocations(searchCriteria); } } 12:23:03.355 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4854 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:23:03.355 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:23:03.356 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (!it, !fnm)' ================================================================================ 12:23:04.284 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:04.286 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:23:04.287 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4892 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:23:04.293 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:04.294 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:23:04.294 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4893 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:23:04.301 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:04.303 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:23:04.303 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4894 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:23:04.480 [INFO][analyzer-service:TimedExecutor-2477][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 37/333 its, 0.235s, 6.4ms/it 12:23:04.690 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:23:04.691 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:23:04.691 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:23:04.691 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4891 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:23:04.692 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:23:04.692 [INFO][analyzer-service:TimedExecutor-2478][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:23:40.779 [INFO][analyzer-service:TimedExecutor-2478][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 2+0 new+accumulated tests, 2+0 tests+partial tests, 1002/1000 its, 35.687s, 35.6ms/it 12:23:41.306 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 2+0 tests and partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, returning all 2 12:23:41.306 [INFO][analyzer-service:TimedExecutor-2759][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations:(Lus/mycompany/itv/common/model/locations/dto/LocationSearchCriteria;)Lus/mycompany/itv/common/model/locations/dto/LocationSearchResults;' using 'SCm (it, !fnm)' ================================================================================ 12:23:44.003 [INFO][pool-9-thread-9][c.d.i.p.w.e] [18/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.searchLocations 12:23:44.003 [INFO][pool-9-thread-9][c.d.i.p.w.e] [18/21] Tests created: 2 12:23:44.004 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 12:23:45.193 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:45.197 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange EnrichedLocation location = new EnrichedLocation(); // Act locationManagementService.updateLocation(location); } } 12:23:45.197 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4929 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:23:45.231 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:45.236 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import java.util.ArrayList; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.model.locations.LocationHealth; import us.mycompany.itv.common.model.nodes.NodeItem; import us.mycompany.itv.common.model.sensors.TimeSeriesRecord; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange Location parentLocation = new Location(); LocationHealth locationHealth = new LocationHealth(); NodeItem node = new NodeItem(); TimeSeriesRecord lastSensorValues = new TimeSeriesRecord(); EnrichedLocation location = new EnrichedLocation(parentLocation, locationHealth, node, lastSensorValues, new ArrayList<>()); // Act locationManagementService.updateLocation(location); } } 12:23:45.236 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4930 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:23:45.273 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:45.276 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.EnrichedLocation; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test public void testUpdateLocation() { // Arrange EnrichedLocation location = null; // Act locationManagementService.updateLocation(location); } } 12:23:45.277 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4931 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:23:47.227 [INFO][analyzer-service:TimedExecutor-2760][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 51/333 its, 2.161s, 42.4ms/it 12:23:47.476 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:23:47.480 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:23:47.480 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.Location; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocation() { // Arrange Location location = new Location(); // Act locationManagementService.updateLocation(location); } } 12:23:47.480 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4928 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:23:47.481 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:23:47.481 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (!it, !fnm)' ================================================================================ 12:23:48.438 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:48.439 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:23:48.439 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4981 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:23:48.447 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:48.449 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:23:48.449 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4982 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:23:48.456 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:23:48.458 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:23:48.458 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4983 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:23:48.745 [INFO][analyzer-service:TimedExecutor-2761][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 53/333 its, 0.383s, 7.2ms/it 12:23:48.968 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:23:48.970 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:23:48.970 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:23:48.970 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4980 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:23:48.970 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:23:48.970 [INFO][analyzer-service:TimedExecutor-2762][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:23:59.555 [INFO][analyzer-service:TimedExecutor-2762][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 553/1000 its, 10.146s, 18.3ms/it 12:23:59.763 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SiM (!sp, !fnm, df, !ris)', 3/3, here is the last one: 12:23:59.868 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:23:59.869 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import static org.mockito.Mockito.mock; import org.junit.Ignore; import org.junit.Test; import org.springframework.amqp.rabbit.AsyncRabbitTemplate; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.security.crypto.argon2.Argon2PasswordEncoder; import us.mycompany.itv.cache.assets.service.AssetCacheService; import us.mycompany.itv.cache.geo.service.GeoCacheService; import us.mycompany.itv.common.model.locations.Location; import us.mycompany.itv.common.utility.WebClientUtils; import us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService; import us.mycompany.itv.gateway.modules.assets.data.AssetRepository; import us.mycompany.itv.gateway.modules.assets.model.AssetMapperImpl; import us.mycompany.itv.gateway.modules.assets.service.AssetSearchService; import us.mycompany.itv.gateway.modules.auditlogs.data.AuditLogRepository; import us.mycompany.itv.gateway.modules.auditlogs.model.AuditLogMapperImpl; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogService; import us.mycompany.itv.gateway.modules.auditlogs.service.AuditLogSubmissionService; import us.mycompany.itv.gateway.modules.events.service.EventSubmissionService; import us.mycompany.itv.gateway.modules.geo.service.GeocodingService; import us.mycompany.itv.gateway.modules.health.data.HealthEventRepository; import us.mycompany.itv.gateway.modules.health.model.HealthEventMapperImpl; import us.mycompany.itv.gateway.modules.health.service.HealthEventService; import us.mycompany.itv.gateway.modules.locations.data.LocationEventRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository; import us.mycompany.itv.gateway.modules.locations.data.LocationRepository; import us.mycompany.itv.gateway.modules.locations.model.LocationEventMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationItemMapperImpl; import us.mycompany.itv.gateway.modules.locations.model.LocationMapperImpl; import us.mycompany.itv.gateway.modules.locations.utils.LocationUtils; import us.mycompany.itv.gateway.modules.messaging.service.MessagingService; import us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService; import us.mycompany.itv.gateway.modules.movements.data.ItemMovementStatsRepository; import us.mycompany.itv.gateway.modules.movements.model.ItemMovementStatsMapperImpl; import us.mycompany.itv.gateway.modules.movements.service.GeoReferenceManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementManagementService; import us.mycompany.itv.gateway.modules.movements.service.ItemMovementStatsService; import us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService; import us.mycompany.itv.gateway.modules.nodes.data.NodeItemRepository; import us.mycompany.itv.gateway.modules.nodes.model.NodeItemMapperImpl; import us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationDistributionService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationProcessingService; import us.mycompany.itv.gateway.modules.notifications.service.NotificationService; import us.mycompany.itv.gateway.modules.notifications.service.UserNotificationManagementService; import us.mycompany.itv.gateway.modules.notifications.service.handlers.ConvoyNotificationHandler; import us.mycompany.itv.gateway.modules.notifications.service.handlers.GeneralNotificationHandler; import us.mycompany.itv.gateway.modules.people.data.PersonRepository; import us.mycompany.itv.gateway.modules.people.model.PersonMapperImpl; import us.mycompany.itv.gateway.modules.people.service.PersonManagementService; import us.mycompany.itv.gateway.modules.requests.service.RequestManagementService; import us.mycompany.itv.gateway.modules.routes.service.RouteManagementService; import us.mycompany.itv.gateway.modules.sensors.data.SensorEventRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorGeoSummaryRepository; import us.mycompany.itv.gateway.modules.sensors.data.SensorRepository; import us.mycompany.itv.gateway.modules.sensors.model.SensorEventMapperImpl; import us.mycompany.itv.gateway.modules.sensors.model.SensorMapperImpl; import us.mycompany.itv.gateway.modules.sensors.service.SensorHealthService; import us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService; import us.mycompany.itv.gateway.modules.sensors.service.SensorNotificationService; import us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService; import us.mycompany.itv.gateway.modules.sensors.service.SensorSearchService; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentEventRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentItemRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentNoteRepository; import us.mycompany.itv.gateway.modules.shipments.data.ShipmentRepository; import us.mycompany.itv.gateway.modules.shipments.model.ShipmentMapperImpl; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentHealthService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentManagementService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentNotificationService; import us.mycompany.itv.gateway.modules.shipments.service.ShipmentSearchService; import us.mycompany.itv.gateway.modules.stats.service.TransitStatsManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripManagementService; import us.mycompany.itv.gateway.modules.trips.service.TripStatsService; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentEventRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetAssignmentRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetItemRepository; import us.mycompany.itv.gateway.modules.unitassets.data.UnitAssetRepository; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetAssignmentMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.model.UnitAssetMapperImpl; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetHealthService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetManagementService; import us.mycompany.itv.gateway.modules.unitassets.service.UnitAssetSearchService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleCargoService; import us.mycompany.itv.gateway.modules.vehicles.service.VehicleManagementService; import us.mycompany.itv.gateway.userauth.data.UserRepository; import us.mycompany.itv.gateway.userauth.model.UserMapperImpl; import us.mycompany.itv.gateway.userauth.service.UserService; import us.mycompany.itv.mq.health.service.HealthEventMQService; import us.mycompany.itv.mq.movements.service.MovementsMQService; import us.mycompany.itv.mq.sensors.service.SensorsMQService; public class LocationManagementServiceTest { /** * Method under test: {@link LocationManagementService#updateLocation(Location)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocation() { // Arrange TimeSeriesService timeSeriesService = new TimeSeriesService(); AuditLogRepository auditLogRepository = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService = new AuditLogSubmissionService( new AuditLogService(null, auditLogRepository, new AuditLogMapperImpl())); GeoReferenceManagementService geoReferenceManagementService = new GeoReferenceManagementService(null); MessagingService messagingService = new MessagingService(null); TimeSeriesService timeSeriesService1 = new TimeSeriesService(); VehicleManagementService vehicleManagementService = new VehicleManagementService(); VehicleCargoService vehicleCargoService = new VehicleCargoService(); ShipmentManagementService shipmentManagementService = new ShipmentManagementService(timeSeriesService1, null, null, null, null, null, null, null, vehicleManagementService, vehicleCargoService, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService = new ItemMovementManagementService( geoReferenceManagementService, messagingService, shipmentManagementService, unitAssetManagementService, new VehicleManagementService()); TimeSeriesService timeSeriesService2 = new TimeSeriesService(); SensorHealthService sensorHealthService = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService1 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService3 = new TimeSeriesService(); LocationUtils locationUtils = new LocationUtils(); LocationRepository locationRepository = mock(LocationRepository.class); LocationItemRepository locationItemRepository = mock(LocationItemRepository.class); LocationMapperImpl locationMapper = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper = new LocationItemMapperImpl(); LocationManagementService locationManagementService = new LocationManagementService(null, null, null, timeSeriesService3, null, locationUtils, locationRepository, locationItemRepository, locationMapper, locationItemMapper, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository = mock(SensorRepository.class); SensorMapperImpl sensorMapper = new SensorMapperImpl(); SensorEventRepository sensorEventRepository = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper = new SensorEventMapperImpl(); SensorManagementService sensorManagementService = new SensorManagementService(timeSeriesService2, sensorHealthService, sensorNotificationService, itemMovementManagementService1, locationManagementService, sensorRepository, sensorMapper, sensorEventRepository, sensorEventMapper, new SensorRelationshipService()); HealthEventRepository healthEventRepository = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService = new EventSubmissionService(); HealthEventService healthEventService = new HealthEventService(healthEventRepository, healthEventMapper, eventSubmissionService, new HealthEventMQService(new RabbitTemplate())); SensorHealthService sensorHealthService1 = new SensorHealthService(auditLogSubmissionService, itemMovementManagementService, sensorManagementService, healthEventService, new NotificationService(new NotificationProcessingService(null, null, null, null))); ModificationNotificationMessagingService modificationNotificationMessagingService = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); SensorRepository sensorRepository1 = mock(SensorRepository.class); SensorGeoSummaryRepository sensorGeoSummaryRepository = mock(SensorGeoSummaryRepository.class); SensorMapperImpl sensorMapper1 = new SensorMapperImpl(); SensorRelationshipService sensorRelationshipService = new SensorRelationshipService(); ItemMovementManagementService itemMovementManagementService2 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService4 = new TimeSeriesService(); VehicleManagementService vehicleManagementService1 = new VehicleManagementService(); VehicleCargoService vehicleCargoService1 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService1 = new ShipmentManagementService(timeSeriesService4, null, null, null, null, null, null, null, vehicleManagementService1, vehicleCargoService1, null, new TransitStatsManagementService(), null); TimeSeriesService timeSeriesService5 = new TimeSeriesService(); LocationUtils locationUtils1 = new LocationUtils(); LocationRepository locationRepository1 = mock(LocationRepository.class); LocationItemRepository locationItemRepository1 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper1 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper1 = new LocationItemMapperImpl(); LocationManagementService locationManagementService1 = new LocationManagementService(null, null, null, timeSeriesService5, null, locationUtils1, locationRepository1, locationItemRepository1, locationMapper1, locationItemMapper1, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService6 = new TimeSeriesService(); PersonRepository personRepository = mock(PersonRepository.class); PersonMapperImpl personMapper = new PersonMapperImpl(); PersonManagementService personManagementService = new PersonManagementService(timeSeriesService6, null, personRepository, personMapper, new SensorRelationshipService()); VehicleManagementService vehicleManagementService2 = new VehicleManagementService(); UnitAssetManagementService unitAssetManagementService1 = new UnitAssetManagementService(null, null, null, null, null); TimeSeriesService timeSeriesService7 = new TimeSeriesService(); SensorRepository sensorRepository2 = mock(SensorRepository.class); SensorMapperImpl sensorMapper2 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository1 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper1 = new SensorEventMapperImpl(); SensorSearchService sensorSearchService = new SensorSearchService(sensorRepository1, sensorGeoSummaryRepository, sensorMapper1, sensorRelationshipService, itemMovementManagementService2, shipmentManagementService1, locationManagementService1, personManagementService, vehicleManagementService2, unitAssetManagementService1, new SensorManagementService(timeSeriesService7, null, null, null, null, sensorRepository2, sensorMapper2, sensorEventRepository1, sensorEventMapper1, new SensorRelationshipService())); SensorNotificationService sensorNotificationService1 = new SensorNotificationService( modificationNotificationMessagingService, sensorSearchService, new SensorsMQService(new RabbitTemplate())); GeoReferenceManagementService geoReferenceManagementService1 = new GeoReferenceManagementService( new GeocodingService(null, new WebClientUtils())); MessagingService messagingService1 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService8 = new TimeSeriesService(); MessagingService messagingService2 = new MessagingService(null); ShipmentHealthService shipmentHealthService = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository = mock(AssetRepository.class); AssetSearchService assetSearchService = new AssetSearchService(null, assetRepository, new AssetMapperImpl()); RouteManagementService routeManagementService = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService3 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService9 = new TimeSeriesService(); LocationUtils locationUtils2 = new LocationUtils(); LocationRepository locationRepository2 = mock(LocationRepository.class); LocationItemRepository locationItemRepository2 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper2 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper2 = new LocationItemMapperImpl(); LocationManagementService locationManagementService2 = new LocationManagementService(null, null, null, timeSeriesService9, null, locationUtils2, locationRepository2, locationItemRepository2, locationMapper2, locationItemMapper2, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService3 = new VehicleManagementService(); LocationItemRepository locationItemRepository3 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService = new LocationItemManagementService( vehicleManagementService3, null, null, null, locationItemRepository3, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService4 = new VehicleManagementService(); VehicleCargoService vehicleCargoService2 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService1 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService = new TransitStatsManagementService(); ShipmentRepository shipmentRepository = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService2 = new ShipmentManagementService(timeSeriesService8, messagingService2, shipmentHealthService, assetSearchService, routeManagementService, itemMovementManagementService3, locationManagementService2, locationItemManagementService, vehicleManagementService4, vehicleCargoService2, modificationNotificationMessagingService1, transitStatsManagementService, new ShipmentSearchService(shipmentRepository, shipmentItemRepository, shipmentEventRepository, shipmentNoteRepository, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService = new UnitAssetSearchService(unitAssetRepository, null, unitAssetItemRepository, unitAssetAssignmentRepository, null, unitAssetAssignmentEventRepository, null, unitAssetMapper, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService2 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService5 = new VehicleManagementService(); LocationItemRepository locationItemRepository4 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService1 = new LocationItemManagementService( vehicleManagementService5, null, null, null, locationItemRepository4, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService10 = new TimeSeriesService(); PersonRepository personRepository1 = mock(PersonRepository.class); PersonMapperImpl personMapper1 = new PersonMapperImpl(); PersonManagementService personManagementService1 = new PersonManagementService(timeSeriesService10, null, personRepository1, personMapper1, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService2 = new UnitAssetManagementService(unitAssetSearchService, modificationNotificationMessagingService2, locationItemManagementService1, personManagementService1, new NotificationService(null)); ItemMovementManagementService itemMovementManagementService4 = new ItemMovementManagementService( geoReferenceManagementService1, messagingService1, shipmentManagementService2, unitAssetManagementService2, new VehicleManagementService()); TimeSeriesService timeSeriesService11 = new TimeSeriesService(); SensorHealthService sensorHealthService2 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService2 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService5 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService12 = new TimeSeriesService(); LocationUtils locationUtils3 = new LocationUtils(); LocationRepository locationRepository3 = mock(LocationRepository.class); LocationItemRepository locationItemRepository5 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper3 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper3 = new LocationItemMapperImpl(); LocationManagementService locationManagementService3 = new LocationManagementService(null, null, null, timeSeriesService12, null, locationUtils3, locationRepository3, locationItemRepository5, locationMapper3, locationItemMapper3, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository3 = mock(SensorRepository.class); SensorMapperImpl sensorMapper3 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository2 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper2 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService1 = new SensorManagementService(timeSeriesService11, sensorHealthService2, sensorNotificationService2, itemMovementManagementService5, locationManagementService3, sensorRepository3, sensorMapper3, sensorEventRepository2, sensorEventMapper2, new SensorRelationshipService()); TimeSeriesService timeSeriesService13 = new TimeSeriesService(); LocationUtils locationUtils4 = new LocationUtils(); LocationRepository locationRepository4 = mock(LocationRepository.class); LocationItemRepository locationItemRepository6 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper4 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper4 = new LocationItemMapperImpl(); LocationManagementService locationManagementService4 = new LocationManagementService(null, null, null, timeSeriesService13, null, locationUtils4, locationRepository4, locationItemRepository6, locationMapper4, locationItemMapper4, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService14 = new TimeSeriesService(); HealthEventRepository healthEventRepository1 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper1 = new HealthEventMapperImpl(); HealthEventService healthEventService1 = new HealthEventService(healthEventRepository1, healthEventMapper1, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService1 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService = new LocationHealthService(locationManagementService4, timeSeriesService14, healthEventService1, auditLogSubmissionService1, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService3 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService15 = new TimeSeriesService(); GeoCacheService geoCacheService = new GeoCacheService(null); GeocodingService geocodingService = new GeocodingService(geoCacheService, new WebClientUtils()); LocationUtils locationUtils5 = new LocationUtils(); LocationRepository locationRepository5 = mock(LocationRepository.class); LocationItemRepository locationItemRepository7 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper5 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper5 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService1 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService6 = new VehicleManagementService(); VehicleManagementService vehicleManagementService7 = new VehicleManagementService(); LocationEventRepository locationEventRepository = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService = new LocationEventManagementService(null, null, vehicleManagementService7, locationEventRepository, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService16 = new TimeSeriesService(); VehicleManagementService vehicleManagementService8 = new VehicleManagementService(); VehicleCargoService vehicleCargoService3 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService3 = new ShipmentManagementService(timeSeriesService16, null, null, null, null, null, null, null, vehicleManagementService8, vehicleCargoService3, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService3 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository8 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService2 = new LocationItemManagementService( vehicleManagementService6, locationEventManagementService, shipmentManagementService3, unitAssetManagementService3, locationItemRepository8, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService17 = new TimeSeriesService(); LocationUtils locationUtils6 = new LocationUtils(); LocationRepository locationRepository6 = mock(LocationRepository.class); LocationItemRepository locationItemRepository9 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper6 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper6 = new LocationItemMapperImpl(); LocationManagementService locationManagementService5 = new LocationManagementService(null, null, null, timeSeriesService17, null, locationUtils6, locationRepository6, locationItemRepository9, locationMapper6, locationItemMapper6, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository = mock(NodeItemRepository.class); LocationManagementService locationManagementService6 = new LocationManagementService(sensorManagementService1, locationHealthService, modificationNotificationMessagingService3, timeSeriesService15, geocodingService, locationUtils5, locationRepository5, locationItemRepository7, locationMapper5, locationItemMapper5, movementEventSubmissionService, sensorRelationshipService1, locationItemManagementService2, new NodeSearchService(locationManagementService5, nodeItemRepository, new NodeItemMapperImpl())); SensorRepository sensorRepository4 = mock(SensorRepository.class); SensorMapperImpl sensorMapper4 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository3 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper3 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService2 = new SensorManagementService(timeSeriesService, sensorHealthService1, sensorNotificationService1, itemMovementManagementService4, locationManagementService6, sensorRepository4, sensorMapper4, sensorEventRepository3, sensorEventMapper3, new SensorRelationshipService()); TimeSeriesService timeSeriesService18 = new TimeSeriesService(); SensorHealthService sensorHealthService3 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService3 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService6 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService19 = new TimeSeriesService(); LocationUtils locationUtils7 = new LocationUtils(); LocationRepository locationRepository7 = mock(LocationRepository.class); LocationItemRepository locationItemRepository10 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper7 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper7 = new LocationItemMapperImpl(); LocationManagementService locationManagementService7 = new LocationManagementService(null, null, null, timeSeriesService19, null, locationUtils7, locationRepository7, locationItemRepository10, locationMapper7, locationItemMapper7, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository5 = mock(SensorRepository.class); SensorMapperImpl sensorMapper5 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository4 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper4 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService3 = new SensorManagementService(timeSeriesService18, sensorHealthService3, sensorNotificationService3, itemMovementManagementService6, locationManagementService7, sensorRepository5, sensorMapper5, sensorEventRepository4, sensorEventMapper4, new SensorRelationshipService()); TimeSeriesService timeSeriesService20 = new TimeSeriesService(); LocationUtils locationUtils8 = new LocationUtils(); LocationRepository locationRepository8 = mock(LocationRepository.class); LocationItemRepository locationItemRepository11 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper8 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper8 = new LocationItemMapperImpl(); LocationManagementService locationManagementService8 = new LocationManagementService(null, null, null, timeSeriesService20, null, locationUtils8, locationRepository8, locationItemRepository11, locationMapper8, locationItemMapper8, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService21 = new TimeSeriesService(); HealthEventRepository healthEventRepository2 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper2 = new HealthEventMapperImpl(); HealthEventService healthEventService2 = new HealthEventService(healthEventRepository2, healthEventMapper2, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService2 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService1 = new LocationHealthService(locationManagementService8, timeSeriesService21, healthEventService2, auditLogSubmissionService2, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService4 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService22 = new TimeSeriesService(); GeoCacheService geoCacheService1 = new GeoCacheService(null); GeocodingService geocodingService1 = new GeocodingService(geoCacheService1, new WebClientUtils()); LocationUtils locationUtils9 = new LocationUtils(); LocationRepository locationRepository9 = mock(LocationRepository.class); LocationItemRepository locationItemRepository12 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper9 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper9 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService1 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService2 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService9 = new VehicleManagementService(); VehicleManagementService vehicleManagementService10 = new VehicleManagementService(); LocationEventRepository locationEventRepository1 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService1 = new LocationEventManagementService(null, null, vehicleManagementService10, locationEventRepository1, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService23 = new TimeSeriesService(); VehicleManagementService vehicleManagementService11 = new VehicleManagementService(); VehicleCargoService vehicleCargoService4 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService4 = new ShipmentManagementService(timeSeriesService23, null, null, null, null, null, null, null, vehicleManagementService11, vehicleCargoService4, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService4 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository13 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService3 = new LocationItemManagementService( vehicleManagementService9, locationEventManagementService1, shipmentManagementService4, unitAssetManagementService4, locationItemRepository13, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService24 = new TimeSeriesService(); LocationUtils locationUtils10 = new LocationUtils(); LocationRepository locationRepository10 = mock(LocationRepository.class); LocationItemRepository locationItemRepository14 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper10 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper10 = new LocationItemMapperImpl(); LocationManagementService locationManagementService9 = new LocationManagementService(null, null, null, timeSeriesService24, null, locationUtils10, locationRepository10, locationItemRepository14, locationMapper10, locationItemMapper10, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository1 = mock(NodeItemRepository.class); LocationManagementService locationManagementService10 = new LocationManagementService(sensorManagementService3, locationHealthService1, modificationNotificationMessagingService4, timeSeriesService22, geocodingService1, locationUtils9, locationRepository9, locationItemRepository12, locationMapper9, locationItemMapper9, movementEventSubmissionService1, sensorRelationshipService2, locationItemManagementService3, new NodeSearchService(locationManagementService9, nodeItemRepository1, new NodeItemMapperImpl())); TimeSeriesService timeSeriesService25 = new TimeSeriesService(); HealthEventRepository healthEventRepository3 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper3 = new HealthEventMapperImpl(); EventSubmissionService eventSubmissionService1 = new EventSubmissionService(); HealthEventService healthEventService3 = new HealthEventService(healthEventRepository3, healthEventMapper3, eventSubmissionService1, new HealthEventMQService(new RabbitTemplate())); UserRepository userRepository = mock(UserRepository.class); UserMapperImpl userMapper = new UserMapperImpl(); UserService userService = new UserService(userRepository, userMapper, new Argon2PasswordEncoder(), null); AuditLogRepository auditLogRepository1 = mock(AuditLogRepository.class); AuditLogSubmissionService auditLogSubmissionService3 = new AuditLogSubmissionService( new AuditLogService(userService, auditLogRepository1, new AuditLogMapperImpl())); MessagingService messagingService3 = new MessagingService(null); ConvoyNotificationHandler convoyNotificationHandler = new ConvoyNotificationHandler(null); GeneralNotificationHandler generalNotificationHandler = new GeneralNotificationHandler(null); LocationHealthService locationHealthService2 = new LocationHealthService(locationManagementService10, timeSeriesService25, healthEventService3, auditLogSubmissionService3, new NotificationService(new NotificationProcessingService(messagingService3, convoyNotificationHandler, generalNotificationHandler, new NotificationDistributionService(null, null, new UserNotificationManagementService(), null, null, null, null, null, null, null, null)))); ModificationNotificationMessagingService modificationNotificationMessagingService5 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService26 = new TimeSeriesService(); GeoCacheService geoCacheService2 = new GeoCacheService(new ConcurrentMapCacheManager()); GeocodingService geocodingService2 = new GeocodingService(geoCacheService2, new WebClientUtils()); LocationUtils locationUtils11 = new LocationUtils(); LocationRepository locationRepository11 = mock(LocationRepository.class); LocationItemRepository locationItemRepository15 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper11 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper11 = new LocationItemMapperImpl(); RabbitTemplate rabbitTemplate = new RabbitTemplate(); MovementEventSubmissionService movementEventSubmissionService2 = new MovementEventSubmissionService( new MovementsMQService(rabbitTemplate, new AsyncRabbitTemplate(new RabbitTemplate()))); SensorRelationshipService sensorRelationshipService3 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService12 = new VehicleManagementService(); TimeSeriesService timeSeriesService27 = new TimeSeriesService(); MessagingService messagingService4 = new MessagingService(null); ShipmentHealthService shipmentHealthService1 = new ShipmentHealthService(new TimeSeriesService(), null, null, null, null, null); AssetRepository assetRepository1 = mock(AssetRepository.class); AssetSearchService assetSearchService1 = new AssetSearchService(null, assetRepository1, new AssetMapperImpl()); RouteManagementService routeManagementService1 = new RouteManagementService(null, null, null, null, null, null); ItemMovementManagementService itemMovementManagementService7 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService28 = new TimeSeriesService(); LocationUtils locationUtils12 = new LocationUtils(); LocationRepository locationRepository12 = mock(LocationRepository.class); LocationItemRepository locationItemRepository16 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper12 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper12 = new LocationItemMapperImpl(); LocationManagementService locationManagementService11 = new LocationManagementService(null, null, null, timeSeriesService28, null, locationUtils12, locationRepository12, locationItemRepository16, locationMapper12, locationItemMapper12, null, new SensorRelationshipService(), null, null); VehicleManagementService vehicleManagementService13 = new VehicleManagementService(); LocationItemRepository locationItemRepository17 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService4 = new LocationItemManagementService( vehicleManagementService13, null, null, null, locationItemRepository17, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService14 = new VehicleManagementService(); VehicleCargoService vehicleCargoService5 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService6 = new ModificationNotificationMessagingService( null); TransitStatsManagementService transitStatsManagementService1 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository1 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository1 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository1 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository1 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService5 = new ShipmentManagementService(timeSeriesService27, messagingService4, shipmentHealthService1, assetSearchService1, routeManagementService1, itemMovementManagementService7, locationManagementService11, locationItemManagementService4, vehicleManagementService14, vehicleCargoService5, modificationNotificationMessagingService6, transitStatsManagementService1, new ShipmentSearchService(shipmentRepository1, shipmentItemRepository1, shipmentEventRepository1, shipmentNoteRepository1, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository1 = mock(UnitAssetRepository.class); UnitAssetItemRepository unitAssetItemRepository1 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository1 = mock(UnitAssetAssignmentRepository.class); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository1 = mock( UnitAssetAssignmentEventRepository.class); UnitAssetMapperImpl unitAssetMapper1 = new UnitAssetMapperImpl(); UnitAssetSearchService unitAssetSearchService1 = new UnitAssetSearchService(unitAssetRepository1, null, unitAssetItemRepository1, unitAssetAssignmentRepository1, null, unitAssetAssignmentEventRepository1, null, unitAssetMapper1, new UnitAssetAssignmentMapperImpl(), null, null); ModificationNotificationMessagingService modificationNotificationMessagingService7 = new ModificationNotificationMessagingService( null); VehicleManagementService vehicleManagementService15 = new VehicleManagementService(); LocationItemRepository locationItemRepository18 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService5 = new LocationItemManagementService( vehicleManagementService15, null, null, null, locationItemRepository18, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService29 = new TimeSeriesService(); PersonRepository personRepository2 = mock(PersonRepository.class); PersonMapperImpl personMapper2 = new PersonMapperImpl(); PersonManagementService personManagementService2 = new PersonManagementService(timeSeriesService29, null, personRepository2, personMapper2, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService5 = new UnitAssetManagementService(unitAssetSearchService1, modificationNotificationMessagingService7, locationItemManagementService5, personManagementService2, new NotificationService(null)); VehicleManagementService vehicleManagementService16 = new VehicleManagementService(); LocationEventRepository locationEventRepository2 = mock(LocationEventRepository.class); LocationEventMapperImpl locationEventMapper = new LocationEventMapperImpl(); VehicleManagementService vehicleManagementService17 = new VehicleManagementService(); LocationEventRepository locationEventRepository3 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService2 = new LocationEventManagementService(null, null, vehicleManagementService17, locationEventRepository3, new LocationEventMapperImpl(), null); ItemMovementStatsRepository itemMovementStatsRepository = mock(ItemMovementStatsRepository.class); ItemMovementStatsMapperImpl itemMovementStatsMapper = new ItemMovementStatsMapperImpl(); LocationEventManagementService locationEventManagementService3 = new LocationEventManagementService( shipmentManagementService5, unitAssetManagementService5, vehicleManagementService16, locationEventRepository2, locationEventMapper, new ItemMovementStatsService(locationEventManagementService2, itemMovementStatsRepository, itemMovementStatsMapper, new UnitAssetManagementService(null, null, null, null, null))); TimeSeriesService timeSeriesService30 = new TimeSeriesService(); MessagingService messagingService5 = new MessagingService(new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService31 = new TimeSeriesService(); ItemMovementManagementService itemMovementManagementService8 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService32 = new TimeSeriesService(); VehicleManagementService vehicleManagementService18 = new VehicleManagementService(); VehicleCargoService vehicleCargoService6 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService6 = new ShipmentManagementService(timeSeriesService32, null, null, null, null, null, null, null, vehicleManagementService18, vehicleCargoService6, null, new TransitStatsManagementService(), null); HealthEventRepository healthEventRepository4 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper4 = new HealthEventMapperImpl(); HealthEventService healthEventService4 = new HealthEventService(healthEventRepository4, healthEventMapper4, new EventSubmissionService(), null); ShipmentNotificationService shipmentNotificationService = new ShipmentNotificationService(null, null); ShipmentHealthService shipmentHealthService2 = new ShipmentHealthService(timeSeriesService31, itemMovementManagementService8, shipmentManagementService6, healthEventService4, shipmentNotificationService, new AuditLogSubmissionService(null)); AssetCacheService assetCacheService = new AssetCacheService(null); AssetRepository assetRepository2 = mock(AssetRepository.class); AssetSearchService assetSearchService2 = new AssetSearchService(assetCacheService, assetRepository2, new AssetMapperImpl()); TripStatsService tripStatsService = new TripStatsService(null, new TimeSeriesService(), null); TripManagementService tripManagementService = new TripManagementService(null, null, null, new VehicleManagementService(), null, null, null, null); TimeSeriesService timeSeriesService33 = new TimeSeriesService(); LocationUtils locationUtils13 = new LocationUtils(); LocationRepository locationRepository13 = mock(LocationRepository.class); LocationItemRepository locationItemRepository19 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper13 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper13 = new LocationItemMapperImpl(); LocationManagementService locationManagementService12 = new LocationManagementService(null, null, null, timeSeriesService33, null, locationUtils13, locationRepository13, locationItemRepository19, locationMapper13, locationItemMapper13, null, new SensorRelationshipService(), null, null); AuditLogSubmissionService auditLogSubmissionService4 = new AuditLogSubmissionService(null); NotificationService notificationService = new NotificationService(null); RouteManagementService routeManagementService2 = new RouteManagementService(tripStatsService, tripManagementService, locationManagementService12, auditLogSubmissionService4, notificationService, new ModificationNotificationMessagingService(null)); GeoReferenceManagementService geoReferenceManagementService2 = new GeoReferenceManagementService(null); MessagingService messagingService6 = new MessagingService(null); TimeSeriesService timeSeriesService34 = new TimeSeriesService(); VehicleManagementService vehicleManagementService19 = new VehicleManagementService(); VehicleCargoService vehicleCargoService7 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService7 = new ShipmentManagementService(timeSeriesService34, null, null, null, null, null, null, null, vehicleManagementService19, vehicleCargoService7, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService6 = new UnitAssetManagementService(null, null, null, null, null); ItemMovementManagementService itemMovementManagementService9 = new ItemMovementManagementService( geoReferenceManagementService2, messagingService6, shipmentManagementService7, unitAssetManagementService6, new VehicleManagementService()); TimeSeriesService timeSeriesService35 = new TimeSeriesService(); SensorRepository sensorRepository6 = mock(SensorRepository.class); SensorMapperImpl sensorMapper6 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository5 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper5 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService4 = new SensorManagementService(timeSeriesService35, null, null, null, null, sensorRepository6, sensorMapper6, sensorEventRepository5, sensorEventMapper5, new SensorRelationshipService()); LocationHealthService locationHealthService3 = new LocationHealthService(null, new TimeSeriesService(), null, null, null); ModificationNotificationMessagingService modificationNotificationMessagingService8 = new ModificationNotificationMessagingService( null); TimeSeriesService timeSeriesService36 = new TimeSeriesService(); GeocodingService geocodingService3 = new GeocodingService(null, new WebClientUtils()); LocationUtils locationUtils14 = new LocationUtils(); LocationRepository locationRepository14 = mock(LocationRepository.class); LocationItemRepository locationItemRepository20 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper14 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper14 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService3 = new MovementEventSubmissionService(null); SensorRelationshipService sensorRelationshipService4 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService20 = new VehicleManagementService(); LocationItemRepository locationItemRepository21 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService6 = new LocationItemManagementService( vehicleManagementService20, null, null, null, locationItemRepository21, new LocationItemMapperImpl()); NodeItemRepository nodeItemRepository2 = mock(NodeItemRepository.class); LocationManagementService locationManagementService13 = new LocationManagementService(sensorManagementService4, locationHealthService3, modificationNotificationMessagingService8, timeSeriesService36, geocodingService3, locationUtils14, locationRepository14, locationItemRepository20, locationMapper14, locationItemMapper14, movementEventSubmissionService3, sensorRelationshipService4, locationItemManagementService6, new NodeSearchService(null, nodeItemRepository2, new NodeItemMapperImpl())); VehicleManagementService vehicleManagementService21 = new VehicleManagementService(); VehicleManagementService vehicleManagementService22 = new VehicleManagementService(); LocationEventRepository locationEventRepository4 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService4 = new LocationEventManagementService(null, null, vehicleManagementService22, locationEventRepository4, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService37 = new TimeSeriesService(); VehicleManagementService vehicleManagementService23 = new VehicleManagementService(); VehicleCargoService vehicleCargoService8 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService8 = new ShipmentManagementService(timeSeriesService37, null, null, null, null, null, null, null, vehicleManagementService23, vehicleCargoService8, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService7 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository22 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService7 = new LocationItemManagementService( vehicleManagementService21, locationEventManagementService4, shipmentManagementService8, unitAssetManagementService7, locationItemRepository22, new LocationItemMapperImpl()); VehicleManagementService vehicleManagementService24 = new VehicleManagementService(); VehicleCargoService vehicleCargoService9 = new VehicleCargoService(); ModificationNotificationMessagingService modificationNotificationMessagingService9 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TransitStatsManagementService transitStatsManagementService2 = new TransitStatsManagementService(); ShipmentRepository shipmentRepository2 = mock(ShipmentRepository.class); ShipmentItemRepository shipmentItemRepository2 = mock(ShipmentItemRepository.class); ShipmentEventRepository shipmentEventRepository2 = mock(ShipmentEventRepository.class); ShipmentNoteRepository shipmentNoteRepository2 = mock(ShipmentNoteRepository.class); ShipmentManagementService shipmentManagementService9 = new ShipmentManagementService(timeSeriesService30, messagingService5, shipmentHealthService2, assetSearchService2, routeManagementService2, itemMovementManagementService9, locationManagementService13, locationItemManagementService7, vehicleManagementService24, vehicleCargoService9, modificationNotificationMessagingService9, transitStatsManagementService2, new ShipmentSearchService(shipmentRepository2, shipmentItemRepository2, shipmentEventRepository2, shipmentNoteRepository2, new ShipmentMapperImpl())); UnitAssetRepository unitAssetRepository2 = mock(UnitAssetRepository.class); UnitAssetHealthService unitAssetHealthService = new UnitAssetHealthService(null); UnitAssetItemRepository unitAssetItemRepository2 = mock(UnitAssetItemRepository.class); UnitAssetAssignmentRepository unitAssetAssignmentRepository2 = mock(UnitAssetAssignmentRepository.class); AssetRepository assetRepository3 = mock(AssetRepository.class); AssetSearchService assetSearchService3 = new AssetSearchService(null, assetRepository3, new AssetMapperImpl()); UnitAssetAssignmentEventRepository unitAssetAssignmentEventRepository2 = mock( UnitAssetAssignmentEventRepository.class); TimeSeriesService timeSeriesService38 = new TimeSeriesService(); LocationUtils locationUtils15 = new LocationUtils(); LocationRepository locationRepository15 = mock(LocationRepository.class); LocationItemRepository locationItemRepository23 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper15 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper15 = new LocationItemMapperImpl(); LocationManagementService locationManagementService14 = new LocationManagementService(null, null, null, timeSeriesService38, null, locationUtils15, locationRepository15, locationItemRepository23, locationMapper15, locationItemMapper15, null, new SensorRelationshipService(), null, null); UnitAssetMapperImpl unitAssetMapper2 = new UnitAssetMapperImpl(); UnitAssetAssignmentMapperImpl unitAssetAssignmentMapper = new UnitAssetAssignmentMapperImpl(); RequestManagementService requestManagementService = new RequestManagementService(null); TimeSeriesService timeSeriesService39 = new TimeSeriesService(); PersonRepository personRepository3 = mock(PersonRepository.class); PersonMapperImpl personMapper3 = new PersonMapperImpl(); UnitAssetSearchService unitAssetSearchService2 = new UnitAssetSearchService(unitAssetRepository2, unitAssetHealthService, unitAssetItemRepository2, unitAssetAssignmentRepository2, assetSearchService3, unitAssetAssignmentEventRepository2, locationManagementService14, unitAssetMapper2, unitAssetAssignmentMapper, requestManagementService, new PersonManagementService(timeSeriesService39, null, personRepository3, personMapper3, new SensorRelationshipService())); ModificationNotificationMessagingService modificationNotificationMessagingService10 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); VehicleManagementService vehicleManagementService25 = new VehicleManagementService(); VehicleManagementService vehicleManagementService26 = new VehicleManagementService(); LocationEventRepository locationEventRepository5 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService5 = new LocationEventManagementService(null, null, vehicleManagementService26, locationEventRepository5, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService40 = new TimeSeriesService(); VehicleManagementService vehicleManagementService27 = new VehicleManagementService(); VehicleCargoService vehicleCargoService10 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService10 = new ShipmentManagementService(timeSeriesService40, null, null, null, null, null, null, null, vehicleManagementService27, vehicleCargoService10, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService8 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository24 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService8 = new LocationItemManagementService( vehicleManagementService25, locationEventManagementService5, shipmentManagementService10, unitAssetManagementService8, locationItemRepository24, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService41 = new TimeSeriesService(); ModificationNotificationMessagingService modificationNotificationMessagingService11 = new ModificationNotificationMessagingService( null); PersonRepository personRepository4 = mock(PersonRepository.class); PersonMapperImpl personMapper4 = new PersonMapperImpl(); PersonManagementService personManagementService3 = new PersonManagementService(timeSeriesService41, modificationNotificationMessagingService11, personRepository4, personMapper4, new SensorRelationshipService()); UnitAssetManagementService unitAssetManagementService9 = new UnitAssetManagementService(unitAssetSearchService2, modificationNotificationMessagingService10, locationItemManagementService8, personManagementService3, new NotificationService(new NotificationProcessingService(null, null, null, null))); LocationItemRepository locationItemRepository25 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService9 = new LocationItemManagementService( vehicleManagementService12, locationEventManagementService3, shipmentManagementService9, unitAssetManagementService9, locationItemRepository25, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService42 = new TimeSeriesService(); SensorHealthService sensorHealthService4 = new SensorHealthService(null, null, null, null, null); SensorNotificationService sensorNotificationService4 = new SensorNotificationService(null, null, null); ItemMovementManagementService itemMovementManagementService10 = new ItemMovementManagementService(null, null, null, null, new VehicleManagementService()); TimeSeriesService timeSeriesService43 = new TimeSeriesService(); LocationUtils locationUtils16 = new LocationUtils(); LocationRepository locationRepository16 = mock(LocationRepository.class); LocationItemRepository locationItemRepository26 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper16 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper16 = new LocationItemMapperImpl(); LocationManagementService locationManagementService15 = new LocationManagementService(null, null, null, timeSeriesService43, null, locationUtils16, locationRepository16, locationItemRepository26, locationMapper16, locationItemMapper16, null, new SensorRelationshipService(), null, null); SensorRepository sensorRepository7 = mock(SensorRepository.class); SensorMapperImpl sensorMapper7 = new SensorMapperImpl(); SensorEventRepository sensorEventRepository6 = mock(SensorEventRepository.class); SensorEventMapperImpl sensorEventMapper6 = new SensorEventMapperImpl(); SensorManagementService sensorManagementService5 = new SensorManagementService(timeSeriesService42, sensorHealthService4, sensorNotificationService4, itemMovementManagementService10, locationManagementService15, sensorRepository7, sensorMapper7, sensorEventRepository6, sensorEventMapper6, new SensorRelationshipService()); TimeSeriesService timeSeriesService44 = new TimeSeriesService(); LocationUtils locationUtils17 = new LocationUtils(); LocationRepository locationRepository17 = mock(LocationRepository.class); LocationItemRepository locationItemRepository27 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper17 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper17 = new LocationItemMapperImpl(); LocationManagementService locationManagementService16 = new LocationManagementService(null, null, null, timeSeriesService44, null, locationUtils17, locationRepository17, locationItemRepository27, locationMapper17, locationItemMapper17, null, new SensorRelationshipService(), null, null); TimeSeriesService timeSeriesService45 = new TimeSeriesService(); HealthEventRepository healthEventRepository5 = mock(HealthEventRepository.class); HealthEventMapperImpl healthEventMapper5 = new HealthEventMapperImpl(); HealthEventService healthEventService5 = new HealthEventService(healthEventRepository5, healthEventMapper5, new EventSubmissionService(), null); AuditLogSubmissionService auditLogSubmissionService5 = new AuditLogSubmissionService(null); LocationHealthService locationHealthService4 = new LocationHealthService(locationManagementService16, timeSeriesService45, healthEventService5, auditLogSubmissionService5, new NotificationService(null)); ModificationNotificationMessagingService modificationNotificationMessagingService12 = new ModificationNotificationMessagingService( new SimpMessagingTemplate(mock(MessageChannel.class))); TimeSeriesService timeSeriesService46 = new TimeSeriesService(); GeoCacheService geoCacheService3 = new GeoCacheService(null); GeocodingService geocodingService4 = new GeocodingService(geoCacheService3, new WebClientUtils()); LocationUtils locationUtils18 = new LocationUtils(); LocationRepository locationRepository18 = mock(LocationRepository.class); LocationItemRepository locationItemRepository28 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper18 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper18 = new LocationItemMapperImpl(); MovementEventSubmissionService movementEventSubmissionService4 = new MovementEventSubmissionService( new MovementsMQService(new RabbitTemplate(), null)); SensorRelationshipService sensorRelationshipService5 = new SensorRelationshipService(); VehicleManagementService vehicleManagementService28 = new VehicleManagementService(); VehicleManagementService vehicleManagementService29 = new VehicleManagementService(); LocationEventRepository locationEventRepository6 = mock(LocationEventRepository.class); LocationEventManagementService locationEventManagementService6 = new LocationEventManagementService(null, null, vehicleManagementService29, locationEventRepository6, new LocationEventMapperImpl(), null); TimeSeriesService timeSeriesService47 = new TimeSeriesService(); VehicleManagementService vehicleManagementService30 = new VehicleManagementService(); VehicleCargoService vehicleCargoService11 = new VehicleCargoService(); ShipmentManagementService shipmentManagementService11 = new ShipmentManagementService(timeSeriesService47, null, null, null, null, null, null, null, vehicleManagementService30, vehicleCargoService11, null, new TransitStatsManagementService(), null); UnitAssetManagementService unitAssetManagementService10 = new UnitAssetManagementService(null, null, null, null, null); LocationItemRepository locationItemRepository29 = mock(LocationItemRepository.class); LocationItemManagementService locationItemManagementService10 = new LocationItemManagementService( vehicleManagementService28, locationEventManagementService6, shipmentManagementService11, unitAssetManagementService10, locationItemRepository29, new LocationItemMapperImpl()); TimeSeriesService timeSeriesService48 = new TimeSeriesService(); LocationUtils locationUtils19 = new LocationUtils(); LocationRepository locationRepository19 = mock(LocationRepository.class); LocationItemRepository locationItemRepository30 = mock(LocationItemRepository.class); LocationMapperImpl locationMapper19 = new LocationMapperImpl(); LocationItemMapperImpl locationItemMapper19 = new LocationItemMapperImpl(); LocationManagementService locationManagementService17 = new LocationManagementService(null, null, null, timeSeriesService48, null, locationUtils19, locationRepository19, locationItemRepository30, locationMapper19, locationItemMapper19, null, new SensorRelationshipService(), null, null); NodeItemRepository nodeItemRepository3 = mock(NodeItemRepository.class); LocationManagementService locationManagementService18 = new LocationManagementService(sensorManagementService5, locationHealthService4, modificationNotificationMessagingService12, timeSeriesService46, geocodingService4, locationUtils18, locationRepository18, locationItemRepository28, locationMapper18, locationItemMapper18, movementEventSubmissionService4, sensorRelationshipService5, locationItemManagementService10, new NodeSearchService(locationManagementService17, nodeItemRepository3, new NodeItemMapperImpl())); NodeItemRepository nodeItemRepository4 = mock(NodeItemRepository.class); LocationManagementService locationManagementService19 = new LocationManagementService(sensorManagementService2, locationHealthService2, modificationNotificationMessagingService5, timeSeriesService26, geocodingService2, locationUtils11, locationRepository11, locationItemRepository15, locationMapper11, locationItemMapper11, movementEventSubmissionService2, sensorRelationshipService3, locationItemManagementService9, new NodeSearchService(locationManagementService18, nodeItemRepository4, new NodeItemMapperImpl())); Location location = new Location(); // Act locationManagementService19.updateLocation(location); } } 12:23:59.869 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.NoNonThrowingInputsException: No generated test that does not throw a trivial exception: java.lang.NullPointerException at com.diffblue.fuzztest.a.d.a(SourceFile:400) at com.diffblue.fuzztest.a.d.a(SourceFile:2727) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.NullPointerException: null at us.mycompany.itv.gateway.modules.locations.utils.LocationUtils.generateStaleTimestamp(LocationUtils.java:29) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationDetails(LocationManagementService.java:684) at us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation(LocationManagementService.java:540) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.diffblue.tir.a.h.a(SourceFile:73) at com.diffblue.tir.a.a.c.a(SourceFile:728) at com.diffblue.tir.a.f.a(SourceFile:414) at com.diffblue.tir.a.f.b(SourceFile:80) at com.diffblue.tir.d.e.a(SourceFile:37) at com.diffblue.tir.a.g.a(SourceFile:219) at com.diffblue.tir.a.g.a(SourceFile:151) at com.diffblue.fuzztest.a.d.a(SourceFile:797) at com.diffblue.cover.sandbox.execution.TimedCallableExecutor$CallableFuture.executeTask(SourceFile:27) at com.diffblue.cover.sandbox.execution.TimedExecutor$TaskQueueRunner.run(SourceFile:67) ... 1 common frames omitted 12:23:59.869 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:23:59.869 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:23:59.870 [INFO][analyzer-service:TimedExecutor-2767][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;' using 'SCm (it, !fnm)' ================================================================================ 12:24:00.594 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation:(Lus/mycompany/itv/common/model/locations/Location;)Lus/mycompany/itv/common/model/locations/Location;: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass4928 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:24:00.594 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocation 12:24:00.594 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] Partial tests created: 1 12:24:00.594 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] Reasons for partial tests: 12:24:00.594 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] R026: Failed to create Spring context 12:24:00.594 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] Attempt to initialize test context failed with 12:24:00.594 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:24:00.594 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.util.Assert.state(Assert.java:76) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] when running class: 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] package us.mycompany.itv.gateway.modules.locations.service; 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] @org.springframework.boot.test.context.SpringBootTest 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] public class DiffblueFakeClass4928 { 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] @org.junit.Test // if JUnit 4 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] @org.junit.jupiter.api.Test // if JUnit 5 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] public void testSpringContextLoads() {} 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] } 12:24:00.595 [INFO][pool-9-thread-9][c.d.i.p.w.e] [19/21] See https://diff.blue/R026 to resolve this issue. 12:24:00.596 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (it, !fnm)' ================================================================================ 12:24:01.957 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:24:01.961 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = "Location Id"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 12:24:01.962 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5034 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:24:02.007 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:24:02.010 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = ","; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 12:24:02.011 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5035 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:24:02.051 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:24:02.055 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] The test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test public void testUpdateLocationHealth() { // Arrange String locationId = "\\s+"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 12:24:02.055 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5036 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:24:02.393 [INFO][analyzer-service:TimedExecutor-2768][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 17/333 its, 0.529s, 31.1ms/it 12:24:02.802 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (it, !fnm)', 1/3, here is the last one: 12:24:02.805 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:24:02.806 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: package us.mycompany.itv.gateway.modules.locations.service; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import us.mycompany.itv.common.model.locations.LocationHealth; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class LocationManagementServiceTest { @Autowired private LocationManagementService locationManagementService; /** * Method under test: {@link LocationManagementService#updateLocationHealth(String, LocationHealth)} */ @Test @Ignore("TODO: Complete this test") public void testUpdateLocationHealth() { // Arrange String locationId = "42"; LocationHealth locationHealth = new LocationHealth(); // Act locationManagementService.updateLocationHealth(locationId, locationHealth); } } 12:24:02.806 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5033 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:292) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted 12:24:02.806 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:24:02.806 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (!it, !fnm)' ================================================================================ 12:24:03.819 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:24:03.822 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:24:03.822 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5050 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:24:03.858 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:24:03.860 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:24:03.861 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5051 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:24:03.878 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] Internal error when executing a test, ignoring and continuing 12:24:03.882 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] The test: [Unable to print Java source: java.lang.IllegalArgumentException: Invalid identifier : >double<] 12:24:03.882 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] The error: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5052 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:24:04.052 [INFO][analyzer-service:TimedExecutor-2769][c.d.fuzztest.a.d] Refinement loop done: 1 seeds, 1+0 new+accumulated tests, 0+1 tests+partial tests, 18/333 its, 0.280s, 15.6ms/it 12:24:04.582 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Created 1 partial tests via 'SCm (!it, !fnm)', 2/3, here is the last one: 12:24:04.583 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == begin partial test == 12:24:04.583 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Test: Unable to get source code: java.lang.IllegalArgumentException: Invalid identifier : >double< 12:24:04.584 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Reason to be partial: com.diffblue.cover.exception.limitation.SpringContextCreationException: Failed to create Spring context using package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.test.context.ContextConfiguration(classes = {us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.class}) @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5049 { @org.springframework.boot.test.mock.mockito.MockBean java.lang.Double aDouble; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.geo.service.GeocodingService geocodingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationHealthService locationHealthService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.service.LocationItemManagementService locationItemManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationItemMapper locationItemMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationItemRepository locationItemRepository; @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.model.LocationMapper locationMapper; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.data.LocationRepository locationRepository; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.locations.utils.LocationUtils locationUtils; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.messaging.service.ModificationNotificationMessagingService modificationNotificationMessagingService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.movements.service.submission.MovementEventSubmissionService movementEventSubmissionService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.nodes.service.NodeSearchService nodeSearchService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorManagementService sensorManagementService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.modules.sensors.service.SensorRelationshipService sensorRelationshipService; @org.springframework.boot.test.mock.mockito.MockBean us.mycompany.itv.gateway.data.timeseries.service.TimeSeriesService timeSeriesService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } at com.diffblue.cover.c.b.k.b(SourceFile:1112) at com.diffblue.cover.c.b.k.a(SourceFile:49) at com.diffblue.cover.c.b.q.a(SourceFile:107) at com.diffblue.cover.c.b.h.a(SourceFile:101) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) at com.diffblue.cover.c.b.h.a(SourceFile:103) at com.diffblue.fuzztest.a.g.a(SourceFile:1125) at com.diffblue.fuzztest.a.d.a(SourceFile:792) at com.diffblue.fuzztest.a.d.a(SourceFile:453) at com.diffblue.fuzztest.a.d.a(SourceFile:234) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.w.a(SourceFile:215) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) Caused by: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at com.diffblue.spring.isolation.SpringFactoriesImpl.makeTestContext(SpringFactoriesImpl.java:293) at com.diffblue.cover.c.b.j.a(SourceFile:167) at com.diffblue.cover.c.b.b.a(SourceFile:61) at com.diffblue.cover.c.b.k.b(SourceFile:68) ... 23 common frames omitted Caused by: org.mockito.exceptions.base.MockitoException: Cannot mock/spy class java.lang.Double Mockito cannot mock/spy because : - final class at org.springframework.boot.test.mock.mockito.MockDefinition.createMock(MockDefinition.java:154) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.registerMock(MockitoPostProcessor.java:185) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.register(MockitoPostProcessor.java:167) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:141) at org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory(MockitoPostProcessor.java:129) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:276) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:244) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 28 common frames omitted 12:24:04.584 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] == end partial test == 12:24:04.584 [INFO][analyzer-service:TimedExecutor-2770][c.d.fuzztest.d.b] ================================================================================ = Creating tests for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SiM (!sp, !fnm, df, !ris)' ================================================================================ 12:24:18.630 [INFO][analyzer-service:TimedExecutor-2770][c.d.fuzztest.a.d] Refinement loop done: 2 seeds, 0+0 new+accumulated tests, 0+0 tests+partial tests, 1000/1000 its, 13.628s, 13.6ms/it 12:24:18.630 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] Unable to create any test via 'SiM (!sp, !fnm, df, !ris)', 3/3: com.diffblue.cover.exception.limitation.ClassInstantiationException: Could not construct an instance of us.mycompany.itv.gateway.modules.locations.service.LocationManagementService at com.diffblue.fuzztest.a.d.a(SourceFile:2348) at com.diffblue.fuzztest.d.q.a(SourceFile:1283) at com.diffblue.fuzztest.d.u.a(SourceFile:84) at com.diffblue.fuzztest.d.t.a(SourceFile:45) at com.diffblue.fuzztest.d.b.k(SourceFile:321) at com.diffblue.cover.sandbox.execution.WorkerThread.lambda$callWorkerThread$3(SourceFile:135) at com.diffblue.cover.sandbox.execution.WorkerThread.run(SourceFile:208) 12:24:18.630 [INFO][analyzer-service:grpc-default-executor-0][c.d.fuzztest.d.r] All 3 subs either threw or created only partial tests; returning the 1 partial tests created by 'SCm (it, !fnm)' 12:24:18.631 [INFO][analyzer-service:TimedExecutor-2774][c.d.fuzztest.d.b] ================================================================================ = Creating skeleton for 'us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V' using 'SCm (it, !fnm)' ================================================================================ 12:24:19.288 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth:(Ljava/lang/String;Lus/mycompany/itv/common/model/locations/LocationHealth;)V: R026: Failed to create Spring context Attempt to initialize test context failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) when running class: package us.mycompany.itv.gateway.modules.locations.service; @org.springframework.boot.test.context.SpringBootTest @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 public class DiffblueFakeClass5033 { @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; @org.junit.Test // if JUnit 4 @org.junit.jupiter.api.Test // if JUnit 5 public void testSpringContextLoads() {} } See https://diff.blue/R026 to resolve this issue. 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.updateLocationHealth 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] Partial tests created: 1 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] Reasons for partial tests: 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] R026: Failed to create Spring context 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] Attempt to initialize test context failed with 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.util.Assert.state(Assert.java:76) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:236) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:152) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:393) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:309) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:262) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:107) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:102) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:137) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at org.springframework.test.context.TestContextManager.(TestContextManager.java:122) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] when running class: 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] package us.mycompany.itv.gateway.modules.locations.service; 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] @org.springframework.boot.test.context.SpringBootTest 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] @org.junit.runner.RunWith(value = org.springframework.test.context.junit4.SpringRunner.class) // if JUnit 4 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] @org.junit.jupiter.api.extension.ExtendWith(value = org.springframework.test.context.junit.jupiter.SpringExtension.class) // if JUnit 5 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] public class DiffblueFakeClass5033 { 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] @org.springframework.beans.factory.annotation.Autowired us.mycompany.itv.gateway.modules.locations.service.LocationManagementService locationManagementService; 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] @org.junit.Test // if JUnit 4 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] @org.junit.jupiter.api.Test // if JUnit 5 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] public void testSpringContextLoads() {} 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] } 12:24:19.290 [INFO][pool-9-thread-9][c.d.i.p.w.e] [20/21] See https://diff.blue/R026 to resolve this issue. 12:24:19.298 [INFO][pool-9-thread-9][c.d.cover.b.n] Failed to create tests for method group us.mycompany.itv.gateway.modules.locations.service.LocationManagementService.:(Lus/mycompany/itv/gateway/modules/sensors/service/SensorManagementService;Lus/mycompany/itv/gateway/modules/locations/service/LocationHealthService;Lus/mycompany/itv/gateway/modules/messaging/service/ModificationNotificationMessagingService;Lus/mycompany/itv/gateway/data/timeseries/service/TimeSeriesService;Lus/mycompany/itv/gateway/modules/geo/service/GeocodingService;Lus/mycompany/itv/gateway/modules/locations/utils/LocationUtils;Lus/mycompany/itv/gateway/modules/locations/data/LocationRepository;Lus/mycompany/itv/gateway/modules/locations/data/LocationItemRepository;Lus/mycompany/itv/gateway/modules/locations/model/LocationMapper;Lus/mycompany/itv/gateway/modules/locations/model/LocationItemMapper;Lus/mycompany/itv/gateway/modules/movements/service/submission/MovementEventSubmissionService;Lus/mycompany/itv/gateway/modules/sensors/service/SensorRelationshipService;Lus/mycompany/itv/gateway/modules/locations/service/LocationItemManagementService;Lus/mycompany/itv/gateway/modules/nodes/service/NodeSearchService;)V: T005: Trivial constructor See https://diff.blue/T005 12:24:19.299 [INFO][pool-9-thread-9][c.d.i.p.w.e] [21/21] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService. 12:24:19.299 [INFO][pool-9-thread-9][c.d.i.p.w.e] [21/21] T005: Trivial constructor 12:24:19.299 [INFO][pool-9-thread-9][c.d.i.p.w.e] [21/21] See https://diff.blue/T005 12:24:19.302 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/1] us.mycompany.itv.gateway.modules.locations.service.LocationManagementService 12:24:19.302 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/1] Tests created: 16 12:24:19.302 [INFO][pool-9-thread-9][c.d.i.p.w.e] [1/1] Partial tests created: 14 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] Summary: 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] -------- 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] Total: 21 methods 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] 16 tests created for: 11 methods 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] 14 partial tests created for: 13 methods 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] Tested indirectly via other methods: 1 method 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] 1 T005: Trivial constructor 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] No tests created for: 9 methods 12:24:19.303 [INFO][pool-9-thread-9][c.d.i.p.w.e] 9 R026: Failed to create Spring context 12:24:20.046 [INFO][ApplicationImpl pooled thread 1263][c.d.i.p.w.e] Will not write a JSON report 12:24:20.046 [INFO][ApplicationImpl pooled thread 1263][c.d.i.p.w.e] DIFFBLUE_REPORT_FILE is not set or is not true. Local env value: null, System env value: null 12:24:20.046 [INFO][ApplicationImpl pooled thread 1263][c.d.i.p.w.e] License doesn't allow multiple classes 12:24:20.046 [INFO][ApplicationImpl pooled thread 1263][c.d.i.p.w.e] License doesn't allow creating report.json