package com.github.kazy1991.prefkit;


import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowApplication;


@Config(manifest = Config.NONE)
@RunWith(RobolectricTestRunner.class)
public class PrefKitTest {

    @Test
    public void addition_isCorrect() throws Exception {
        PrefKit prefKit = new PrefKit(ShadowApplication.getInstance().getApplicationContext());
        TestSchema schema = prefKit.create(TestSchema.class);
        schema.getSampleValue(false);
        schema.setSampleValue(true);
    }
}

@@ -227,16 +227,80 @@
 ation;%0A%0A
+import static org.assertj.core.api.Java6Assertions.assertThat;%0A%0A
 %0A@Config
@@ -420,25 +420,15 @@
 oid 
-addition_isCorrec
+callTes
 t() 
@@ -675,20 +675,55 @@
 alue(true);%0A
+        assertThat(true).isTrue();%0A
     %7D%0A%7D%0A

Fix Test