### Question:
ClientCredential implements Comparable<ClientCredential> { public static ClientCredentialBuilder builder() { return new ClientCredentialBuilder(); } ClientCredential(ClientCredentialBuilder b); static ClientCredentialBuilder builder(); @Override int compareTo(ClientCredential that); @Override boolean equals(Object o); String getAccessToken(); String getClientSecret(); String getClientToken(); Set<String> getHeadersToSign(); String getHost(); int getMaxBodySize(); @Override int hashCode(); @Override String toString(); static final int DEFAULT_MAX_BODY_SIZE_IN_BYTES; }### Answer:
@Test public void testBuilder() throws Exception { ClientCredential credential = ClientCredential.builder() .accessToken("akaa-ATATATATATATATAT-ATATATATATATATAT") .clientSecret("CSCSCSC+SCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCS=") .clientToken("akaa-CTCTCTCTCTCTCTCT-CTCTCTCTCTCTCTCT") .host("akaa-4AAAAAAAAAAAAAAA-AAAAAAAAAAAAAAAA.luna.akamaiapis.net") .maxBodySize(65) .build(); assertThat(credential.getAccessToken(), is(equalTo("akaa-ATATATATATATATAT-ATATATATATATATAT"))); assertThat(credential.getClientSecret(), is(equalTo("CSCSCSC+SCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCS="))); assertThat(credential.getClientToken(), is(equalTo("akaa-CTCTCTCTCTCTCTCT-CTCTCTCTCTCTCTCT"))); assertThat(credential.getHost(), is(equalTo("akaa-4AAAAAAAAAAAAAAA-AAAAAAAAAAAAAAAA.luna.akamaiapis.net"))); assertThat(credential.getHeadersToSign(), is(emptyCollectionOf(String.class))); assertThat(credential.getMaxBodySize(), is(65)); }