public CachingBackedRegistryTestImpl() {
this(new LinkedList<Pair<TypeToken<?>, ? extends Supplier<?>>>());
}
public CachingBackedRegistryTestImpl(final List<Pair<TypeToken<?>, ? extends Supplier<?>>> supplierEntries) {
super(new RegistryBacking() {
@Override
public <T> Iterable<Supplier<? extends T>> provide(final TypeToken<T> typeToken) {
return FluentIterable.from(supplierEntries).filter(new Predicate<Pair<TypeToken<?>, ? extends Supplier<?>>>() {
@Override
public boolean apply(Pair<TypeToken<?>, ? extends Supplier<?>> entry) {