@Test
public void testGetObject_foobar() {

    MockICS ics = new MockICS();
    BaseFactory bf = new FooFactory(ics, new FooBarFactory(ics));
    FooBar foo = bf.getObject("foo", FooBar.class);
    Assert.assertNotNull(foo);
}