Esempio n. 1
0
 @Test
 public void testDefaultEncryption() {
   builder.build();
   assertThat(builder.getEncryption()).isInstanceOf(AesEncryption.class);
 }
Esempio n. 2
0
 @Test
 public void testDefaultEncoded() {
   builder.build();
   assertThat(builder.getEncoder()).isInstanceOf(HawkEncoder.class);
 }
Esempio n. 3
0
 @Test
 public void testDefaultStorage() {
   builder.build();
   assertThat(builder.getStorage()).isInstanceOf(SharedPreferencesStorage.class);
 }
Esempio n. 4
0
 @Test
 public void testDefaultParser() {
   builder.build();
   assertThat(builder.getParser()).isInstanceOf(GsonParser.class);
 }
Esempio n. 5
0
 @Test
 public void testDefaultLogLevel() {
   builder.build();
   assertThat(builder.getLogLevel()).isEqualTo(LogLevel.NONE);
 }