### Question:
BorderLayout extends VLayout { public void setEastMember(Canvas member) { if (member == null) { east.setWidth(0); east.setMembers(); } else { member.setHeight("100%"); east.setWidth(1); east.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_resizesEastMemberHeightToFull() { Canvas member = new Canvas(); borderLayout.setEastMember(member); assertEquals("100%", member.getHeightAsString()); }
@Test public void test_resizesEastHolderToAutoFit() { borderLayout.setEastMember(new Canvas()); assertEquals(Integer.valueOf(1), getEastHolder().getAttributeAsInt("width")); }
@Test public void test_resizesEastHolderToNothingIfMemberIsNull() { borderLayout.setEastMember(new Canvas()); borderLayout.setEastMember(null); assertEquals(Integer.valueOf(0), getEastHolder().getAttributeAsInt("width")); }