@Test
public void testTransferAnInvalidPeriod() {

	String periodExpression = "8h";
	try{
		this.timePeriodHandler.transferToLongPeriod(periodExpression);
		fail("8h is a invalid period expression");
	} catch(RuntimeException e){
		assertEquals(e.getMessage(), "Time period expression could not be matched: "+periodExpression);
	}
}