@Test (expected = ResolutionException.class)
public void checkResolutionException()
        throws Exception {

    IContainer container = new Container();
    container.resolve(null, null);
    fail();
}