assertThat(successSpy2.get()).isNotNull().isInstanceOf(CompleteBean.class).isNotInstanceOf(Factory.class);
}
@Test
public void should_return_raw_entities_for_raw_typed_query_async() throws Exception {
Counter counter1 = CounterBuilder.incr(15L);
CompleteBean paul = builder().randomId().name("Paul").age(35L)
.addFriends("foo", "bar").addFollowers("George", "Jack").addPreference(1, "FR")
.addPreference(2, "Paris").addPreference(3, "75014").version(counter1).buid();
Counter counter2 = CounterBuilder.incr(17L);
CompleteBean john = builder().randomId().name("John").age(34L)
.addFriends("qux", "twix").addFollowers("Isaac", "Lara").addPreference(1, "US")
.addPreference(2, "NewYork").version(counter2).buid();
manager.insert(paul);