Made method GreenApplePicker.pick() add the original apple object to a new list.
Wrote intent code of the Assert, Act and Arrange parts of test the_heavy_apple_picker_should_pick_heavy_apples_only().
Created class HeavyApplePicker.
Created method HeavyApplePicker.pick().
Created method Apple.getWeight().
Created constructor Apple(int weight).
Implemented method HeavyApplePicker.pick().
Updated test the_heavy_apple_picker_should_pick_heavy_apples_only() to verify the number of apples picked.
Implemented method Apple.getWeight(). Updated test the_green_apple_picker_should_pick_green_apples_only() to verify the number of apples picked. Added constructor Apple(Color color, int weight).
Wrote intent code of strategy pattern in test the_green_apple_picker_should_pick_green_apples_only().
Created interface ApplePickingStrategy.
Created class GreenApplePickingStrategy.
Created class ApplePicker.
Created constructor ApplePicker(ApplePickingStrategy).
Created method ApplePicker.pick().
Wrote intent code in method ApplePicker.pick(). Implemented constructor ApplePicker(ApplePickingStrategy).
Added method meetCriteria() in interface ApplePickingStrategy. Overrode method GreenApplePickingStrategy.meetCriteria().
Wrote intent code in method GreenApplePickingStrategy.meetCriteria().
Updated the interface ApplePickingStrategy.meetCriteria() to have an Apple parameter. Updated the client code of this interface.
Wrote intent code in test the_heavy_apple_picker_should_pick_heavy_apples_only().