public class Rebid1NTTest extends TestCase {
public void testRaiseTo4IfAtLeast3CardsInColor() {
Auctioneer a = new Auctioneer(West.i());
a.bid(new Bid(1, NoTrump.i()));
a.bid(new Pass());
a.bid(new Bid(3, Hearts.i()));
a.bid(new Pass());
Rebid1NT rule = new Rebid1NT(
a, new Hand("K,2", "A,3,2", "A,Q,8,6", "K,J,5,3"));
assertEquals(new Bid(4, Hearts.i()), rule.getBid());