@Test
public void testSelectIndexYearChange2Days() throws Exception {

	final String indexPattern = indexSelector.getIndexPatternOlderThanDays("metrics-", 2);
	assertEquals("metrics-*,-metrics-1970.01.*,-metrics-1969.12.31,-metrics-1969.12.30", indexPattern);
}