@Test public void testMultipleStorable() { class TestCase implements Storable { @Store private int integer = 0; @Store private String string = ""; } TestCase test = new TestCase(); test.integer = 256; test.string = "test"; Data data = new Data(); test.save(data); test = new TestCase(); test.load(data); assertThat(test.integer).isEqualTo(256); assertThat(test.string).isEqualTo("test"); }