10101011101210131014101510161017101810191020
List<OptionalLookupType> list = result.list; assertNotNull(list); assertEquals(1, list.size()); OptionalLookupType type = list.get(0); assertEquals(5, type.a); assertEquals(0, type.b); assertNotNull(type.c); assertFalse(type.c.isPresent()); }