package com.calclab.suco.tests;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
import com.calclab.suco.client.SucoFactory;
import com.calclab.suco.client.ioc.Container;
import com.calclab.suco.client.ioc.decorator.NoDecoration;
import com.calclab.suco.client.ioc.decorator.Singleton;
public class SucoFactoryTests {
@Test
public void shouldHaveDefaultScopes() {
final Container container = SucoFactory.create();
assertNotNull(container.getInstance(NoDecoration.class));
assertNotNull(container.getInstance(Singleton.class));
}
}