void (@NotNull Path originalFile, @NotNull String expectedExtension, @NotNull String actual) { String nameWithoutExtension = PathsKt.getNameWithoutExtension(originalFile); Path expectedFile = originalFile.resolveSibling(nameWithoutExtension + '.' + StringsKt.removePrefix(expectedExtension, ".")); assertEqualsToFile(expectedFile, actual); }