class InterruptRefPattern extends AbstractCliPattern<Long> {

	@Override
	public Long getValue() {
		return reference;
	}

}

class InterruptRefPatternTest {

	@Test
	public void testSuccess1() {

		String line = "user interrupt reference id: 3422";
		InterruptRefPattern pattern = new InterruptRefPattern();
		boolean matches = pattern.matchesLine(line);
		assertTrue("Pattern does not match", matches);
		assertEquals(Long.valueOf(3422), pattern.getValue());
	}

}