191192193194195196197198199200201
boolean rejected = false; boolean accepted = false; while(!rejected) { rejected = !connFilter.accept(conn); } while(!accepted) { accepted = connFilter.accept(conn); }
195196197198199200201202203204205
while(!rejected) { rejected = !connFilter.accept(conn); } while(!accepted) { accepted = connFilter.accept(conn); } assertEquals(true, rejected); assertEquals(true, accepted); }