Developing the remote-controlled ship
Let's start by importing the existing Git repository.
Project setup
Let's start setting up the project:
- Open IntelliJ IDEA. If an existing project is already opened, select
File|Close Project. - You will be presented with a screen similar to the following:

- To import the project from the Git repository, click on
Check out from Version Controland selectGit. Typehttps://bitbucket.org/vfarcic/tdd-java-ch04-ship.gitin to theGit Repository URLfield and click onClone:

- Answer
Yeswhen asked whether you would like to open the project. Next you will be presented with theImport Project from Gradledialog. Click onOK:

- IDEA will need to spend some time downloading the dependencies specified in the
build.gradlefile. Once that is done, you'll see that some classes and corresponding tests are already created:

Helper classes
Imagine that a colleague of yours started working on this project. He's a good programmer and a TDD practitioner, and you trust his abilities to...