### Question:
Configuration { public static Builder builder(PathType pathType) { return new Builder(pathType); } private  Configuration(Builder builder); static Configuration unix(); static Configuration osX(); static Configuration windows(); static Configuration forCurrentPlatform(); static Builder builder(PathType pathType); @Override String toString(); Builder toBuilder();  }### Answer:
@Test public void testBuilder() { AttributeProvider unixProvider = StandardAttributeProviders.get("unix"); Configuration config = Configuration.builder(PathType.unix()) .setRoots("/") .setWorkingDirectory("/hello/world") .setNameCanonicalNormalization(NFD, CASE_FOLD_UNICODE) .setNameDisplayNormalization(NFC) .setPathEqualityUsesCanonicalForm(true) .setBlockSize(10) .setMaxSize(100) .setMaxCacheSize(50) .setAttributeViews("basic", "posix") .addAttributeProvider(unixProvider) .setDefaultAttributeValue( "posix:permissions", PosixFilePermissions.fromString("---------")) .build(); assertThat(config.pathType).isEqualTo(PathType.unix()); assertThat(config.roots).containsExactly("/"); assertThat(config.workingDirectory).isEqualTo("/hello/world"); assertThat(config.nameCanonicalNormalization).containsExactly(NFD, CASE_FOLD_UNICODE); assertThat(config.nameDisplayNormalization).containsExactly(NFC); assertThat(config.pathEqualityUsesCanonicalForm).isTrue(); assertThat(config.blockSize).isEqualTo(10); assertThat(config.maxSize).isEqualTo(100); assertThat(config.maxCacheSize).isEqualTo(50); assertThat(config.attributeViews).containsExactly("basic", "posix"); assertThat(config.attributeProviders).containsExactly(unixProvider); assertThat(config.defaultAttributeValues) .containsEntry("posix:permissions", PosixFilePermissions.fromString("---------")); }