@@ -0,0 +1,1309 @@
+package com.speedment.common.injector;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0Aimport java.util.stream.Collectors;%0A%0Aimport static java.util.stream.Collectors.toList;%0Aimport static org.junit.jupiter.api.Assertions.*;%0A%0Afinal class InjectBundleTest %7B%0A%0A    @Test%0A    void empty() %7B%0A        assertEquals(0, InjectBundle.empty().injectables().count());%0A    %7D%0A%0A    @Test%0A    void of() %7B%0A        final Class%3C?%3E%5B%5D classes = %7BString.class, Integer.class, Long.class%7D;%0A        final List%3CClass%3C?%3E%3E expected = Arrays.asList(classes);%0A        final InjectBundle bundle = InjectBundle.of(classes);%0A        assertEquals(expected, bundle.injectables().collect(toList()));%0A    %7D%0A%0A    @Test%0A    void withBundle() %7B%0A        final InjectBundle first = InjectBundle.of(String.class);%0A        final InjectBundle second = InjectBundle.of(Integer.class);%0A        final InjectBundle composite = first.withBundle(second);%0A        assertEquals(Arrays.asList(String.class, Integer.class), composite.injectables().collect(toList()));%0A    %7D%0A%0A    @Test%0A    void withComponent() %7B%0A        final InjectBundle composite = InjectBundle.of(String.class).withComponent(Integer.class);%0A        assertEquals(Arrays.asList(String.class, Integer.class), composite.injectables().collect(toList()));%0A    %7D%0A%7D

Add InjectBundleTest