public void testIsInfinite2() throws Exception {
// Create fixture
Property maximumRepeats = mock(Property.class);
ConditionalPageMasterReference cpmr = createCPMR("empty");
NumericProperty numericProperty = mock(NumericProperty.class);
final int maxRepeatNum = 0;
assertTrue(maxRepeatNum != EN_NO_LIMIT);
when(maximumRepeats.getEnum()).thenReturn(maxRepeatNum);