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