Add IOexception mockup testcase
See https://stackoverflow.com/questions/36429274/how-to-write-junit-test-cases-for-ioexception for example
import static org.mockito.Mockito.*; and have within testReadProperties InputStream in = mock(InputStream.class); when(in.read()).thenThrow(new IOException());