BiCardSource implements CardSource { @Override public boolean isEmpty() { return aSource1.isEmpty() && aSource2.isEmpty(); } BiCardSource(CardSource pSource1, CardSource pSource2); @Override Card draw(); @Override boolean isEmpty();  }
@Test public void testEmpty_True() { assertTrue(new BiCardSource(aEmpty, aEmpty).isEmpty()); }
@Test public void testEmpty_False_FirstEmpty() { assertFalse(new BiCardSource(aEmpty, aContainsAce).isEmpty()); }
@Test public void testEmpty_False_SecondEmpty() { assertFalse(new BiCardSource(aContainsAce, aEmpty).isEmpty()); }
@Test public void testEmpty_False_NeitherEmpty() { assertFalse(new BiCardSource(aContainsAce, aContainsTwo).isEmpty()); }