Configure a gradle build, do some refactory and begin tests with mockito e junit