@Test
public void should_return_insets_from_container() {
Robot robot = robotWithNewAwtHierarchy();
TestWindow window = TestWindow.createNewWindow(getClass());
try {
robot.showWindow(window, new Dimension(500, 300));
Insets insets = insetsFrom(window);
assertThat(insets).isEqualTo(insetsOf(window));
} finally {
robot.cleanUp();
}