@Test
public void nullValueOfFirstParametersReturnPositiveInfinity( ) {

    double distance = distanceCalculator.getDistance(null, new double[0]);
    assertThat(distance, is(equalTo(Double.POSITIVE_INFINITY)));
}