Trong khi sử dụng JMockit Tôi muốn ném một ngoại lệ khi một invocation constructor như thế này: new Expectations(){
{
new FirefoxDriver();//Want to throw IllegalStateException here but ho
Tôi có một bài kiểm tra như sau: it "should not indicate backwards jumps if the checker position is not a king" do
board = Board.new
game_board = board.create_test_board
board.add_check