You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
510 B
21 lines
510 B
![]()
8 years ago
|
package de.joshavg.simpledic;
|
||
|
|
||
|
import de.joshavg.simpledic.services.DependsOnNoDependencies;
|
||
|
import org.junit.Test;
|
||
|
|
||
|
public class SimpleDependenciesTest {
|
||
|
|
||
|
private static final String FILENAME = "almostsane.properties";
|
||
|
|
||
|
@Test
|
||
|
public void testIntegrityCheck() {
|
||
|
SdiContainer.load(FILENAME);
|
||
|
}
|
||
|
|
||
|
@Test
|
||
|
public void createOneDependencyService() {
|
||
|
SdiContainer container = SdiContainer.load(FILENAME);
|
||
|
container.createInstance(DependsOnNoDependencies.class);
|
||
|
}
|
||
|
}
|