JniLibrary { public String getPlatformDirName() { return this.platform.getName().replace("_", "-"); } private  JniLibrary(String name, Platform platform, String version); static Builder builder(); Platform getPlatform(); String getPlatformDirName(); String getLibraryFileName(); String getResourceName(); String getName(); String getVersion();  }
@Test void testGetPlatformDirName() { assertEquals(platform.getName().replace("_", "-"), jniLibrary.getPlatformDirName()); }