    @Test
    public void nullValueOfSecondParameterReturnsPositiveInfinity( ) {

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