### Question:
BorderLayout extends VLayout { public void setSouthMember(Canvas member) { if (member == null) { south.setHeight(0); south.setMembers(); } else { member.setWidth("100%"); south.setHeight(1); south.setMembers(member); } } BorderLayout(); Canvas getCenterMember(); void setCenterMember(Canvas member); Canvas getNorthMember(); void setNorthMember(Canvas member); Canvas getSouthMember(); void setSouthMember(Canvas member); Canvas getWestMember(); void setWestMember(Canvas member); Canvas getEastMember(); void setEastMember(Canvas member);  }### Answer:
@Test public void test_resizesSouthMemberWidthToFull() { Canvas member = new Canvas(); borderLayout.setSouthMember(member); assertEquals("100%", member.getWidthAsString()); }
@Test public void test_resizesSouthHolderToAutoFit() { borderLayout.setSouthMember(new Canvas()); assertEquals(Integer.valueOf(1), getSouthHolder().getAttributeAsInt("height")); }
@Test public void test_resizesSouthHolderToNothingIfMemberIsNull() { borderLayout.setSouthMember(new Canvas()); borderLayout.setSouthMember(null); assertEquals(Integer.valueOf(0), getSouthHolder().getAttributeAsInt("height")); }