### Question:
BorderLayout extends VLayout { public void setWestMember(Canvas member) { if (member == null) { west.setWidth(0); west.setMembers(); } else { member.setHeight("100%"); west.setWidth(1); west.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_resizesWestMemberHeightToFull() { Canvas member = new Canvas(); borderLayout.setWestMember(member); assertEquals("100%", member.getHeightAsString()); }
@Test public void test_resizesWestHolderToAutoFit() { borderLayout.setWestMember(new Canvas()); assertEquals(Integer.valueOf(1), getWestHolder().getAttributeAsInt("width")); }
@Test public void test_resizesWestHolderToNothingIfMemberIsNull() { borderLayout.setWestMember(new Canvas()); borderLayout.setWestMember(null); assertEquals(Integer.valueOf(0), getWestHolder().getAttributeAsInt("width")); }