@Test(expected = IllegalArgumentException.class)
public void shouldThrowExceptionIfThereAreNoElementsRepeatedNTimesInTheArrayPassedAsArgument() {

  int[] numbers = { 1, 2, 3 };
  findNthMostRepeatedElement.find(numbers, 2);
}