* @version $Rev: 451895 $ $Date: 2006-10-01 23:58:18 -0700 (Sun, 01 Oct 2006) $
*/
public class AutowireResolutionTestCase extends TestCase {
public void testConstruction() {
CompositeComponent parent = createMock(CompositeComponent.class);
replay(parent);
CompositeComponent component = new CompositeComponentImpl("test", parent, null, null);
assertEquals("test", component.getName());
assertSame(parent, component.getParent());
verify(parent);
}