package Ġcom . ascending . games . id 1 . edit . board . action . room Ċ Ċ import Ġcom . ascending . games . id 1 . edit . board . Board Domain Ċ import Ġcom . ascending . games . id 1 . edit . board . Mock Room Factory Ċ import Ġcom . ascending . games . id 1 . edit . board . action . room . Drop Action Ċ import Ġcom . ascending . games . id 1 . model . board . Board Ċ import Ġcom . ascending . games . id 1 . model . world . Player Ċ import Ġcom . ascending . games . engine . model . geometry . Coord 2 Ċ import Ġorg . junit . Assert . assertEquals Ċ import Ġorg . junit . Assert . assertNull Ċ import Ġorg . junit . Test Ċ Ċ class ĠDrop Action Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġexecute () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġboard Domain Ġ= ĠBoard Domain ( Board ( 3 , 3 ), ĠPlayer (), Ġ 1 , ĠMock Room Factory ()) ĊĠĠĠĠĠĠĠ Ġval Ġdrop Action Ġ= ĠDrop Action () ĊĊĠĠĠĠĠĠĠ ĠassertNull ( board Domain . board . get Room At ( Coord 2 ( 1 , Ġ 0 ))) ĊĠĠĠĠĠĠĠ Ġboard Domain . execute ( drop Action ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( board Domain . current Room , Ġboard Domain . board . get Room At ( Coord 2 ( 1 , Ġ 1 ))) ĊĠĠĠĠĠĠĠ Ġboard Domain . execute ( drop Action ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( board Domain . current Room , Ġboard Domain . board . get Room At ( Coord 2 ( 1 , Ġ 0 ))) ĊĊĠĠĠĠĠĠĠ Ġboard Domain . next Room () ĊĊĠĠĠĠĠĠĠ ĠassertNull ( board Domain . board . get Room At ( Coord 2 ( 1 , Ġ 1 ))) ĊĠĠĠĠĠĠĠ Ġboard Domain . execute ( drop Action ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( board Domain . current Room , Ġboard Domain . board . get Room At ( Coord 2 ( 1 , Ġ 1 ))) ĊĠĠĠĠĠĠĠ Ġboard Domain . execute ( drop Action ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( board Domain . current Room , Ġboard Domain . board . get Room At ( Coord 2 ( 1 , Ġ 1 ))) ĊĠĠĠ Ġ} Ċ }