Searched refs:ListProvider (Results 1 – 2 of 2) sorted by relevance
30 ListProvider<String> listProvider = new ListProvider<String>(); in testGenericList()38 ListProvider<String> listProvider2 = loader.loadAs(s, ListProvider.class); in testGenericList()47 ListProvider<Bean> listProvider = new ListProvider<Bean>(); in testGenericBean()61 ListProvider listProvider2 = loader.loadAs(s, ListProvider.class); in testGenericBean()70 public static class ListProvider<T> { class in GenericListBeanTest84 if (obj instanceof ListProvider) { in equals()85 return list.equals(((ListProvider) obj).getList()); in equals()
394 bind(List.class).toProvider(ListProvider.class); in testBindToProvider()395 bind(Collection.class).toProvider(Key.get(ListProvider.class)); in testBindToProvider()463 assertEquals(Key.get(ListProvider.class), binding.getProviderKey()); in testBindToProvider()477 assertEquals(Key.get(ListProvider.class), binding.getProviderKey()); in testBindToProvider()1307 private static class ListProvider implements Provider<List> { class in ElementsTest