*/
public class SetParentAsContent {
@Test(expected = IllegalArgumentException.class)
public void testSetContent() {
AbstractSingleComponentContainer container = new AbstractSingleComponentContainer() {
};
HasComponents hasComponentsMock = EasyMock
.createMock(HasComponents.class);
container.setParent(hasComponentsMock);
container.setContent(hasComponentsMock);
}