### Question:
EncryptorConfig { public static EncryptorConfig getDefault() { final EncryptorConfig encryptorConfig = new EncryptorConfig(); encryptorConfig.setType(EncryptorType.NACL); return encryptorConfig; }  EncryptorType getType(); void setType(EncryptorType type); Map<String, String> getProperties(); void setProperties(Map<String, String> properties); @Override int hashCode(); @Override boolean equals(Object obj); static EncryptorConfig getDefault();  }### Answer:
@Test public void getDefault() { EncryptorConfig encryptorConfig = EncryptorConfig.getDefault(); assertThat(encryptorConfig.getType()).isEqualTo(EncryptorType.NACL); assertThat(encryptorConfig.getProperties()).isNull(); }