}
@Test
@NonParameterized
public void embedded_daemon_jar_is_exactly_the_same_as_the_published_daemon_jar() throws IOException {
EmbeddedDaemonJar embeddedJar = new EmbeddedDaemonJar();
Path publishedJar = TestEnvironment.ARTIFACTS.getProjectJar("jumi-daemon").toPath();
try (InputStream in1 = embeddedJar.getDaemonJarAsStream();
InputStream in2 = Files.newInputStream(publishedJar)) {
assertTrue("the embedded daemon JAR was not equal to " + publishedJar,
ByteStreams.equal(asSupplier(in1), asSupplier(in2)));
}