package org.synyx.urlaubsverwaltung.web.overtime; import org.junit.Assert; import org.junit.Test; /** * @author Aljona Murygina - murygina@synyx.de */ public class UnknownOvertimeExceptionTest { @Test public void ensureCorrectExceptionMessage() { UnknownOvertimeException exception = new UnknownOvertimeException(42); Assert.assertEquals("Wrong exception message", "No overtime found for ID = 42", exception.getMessage()); } }