void function ( ) { MobileBehavior loc0 = new MobileBehavior ( ) ; loc0 . startMovingInDirection ( Direction . LEFT ) ; assertEquals ( Direction . LEFT , loc0 . directionToMove ( ) ) ; }
test startmovingindirection method work correctly when the initial direction is none and the target direction is left concode_field_sep MobileBehavior mobilityBehavior concode_field_sep void startMovingInDirectionRtoL concode_elem_sep void stopMovingInDirectionNullPointerException concode_elem_sep void startMovingInDirectionNullPointerException concode_elem_sep void canMovetest concode_elem_sep void stopMovingInDirectionLRtoL concode_elem_sep void stopMovingInDirectionIllegalArgumentException concode_elem_sep void stopMovingInDirectionLRtoLR concode_elem_sep void setPostitionTest concode_elem_sep void removeFromBardTest concode_elem_sep void stopMovingInDirectionLtoN concode_elem_sep void Setup concode_elem_sep void startMovingInDirectionIllegalArgumentException concode_elem_sep void stopMovingInDirectionLtoR