### Question:
HSplitLayout extends HLayout { public void setLeftMember(Canvas member) { String width = left.getWidthAsString(); if (member == null) { left = buildLabel("") .setWidth("50%") .setHeight("100%") .build(); } else { left = member; left.setWidth(width); } setMembers(left,right); } HSplitLayout(); static Builder buildHSplitLayout(); void setProportions(double proportion); Canvas getLeftMember(); void setLeftMember(Canvas member); Canvas getRightMember(); void setRightMember(Canvas member);  }### Answer:
@Test public void test_setsLeftMemberAsMemberOfLeftHolder() { final Canvas member = new Canvas(); hSplitLayout.setLeftMember(member); assertEquals(member, ((Layout) hSplitLayout.getMember(0)).getMember(0)); }
@Test public void test_setsLeftMemberToFullSize() { final Canvas member = new Canvas(); hSplitLayout.setLeftMember(member); assertEquals("100%", member.getWidthAsString()); }