@Test
public void testCheckFileExists() {

    assertThat(FileSystemUtil.checkFileOrResourceExists("build.gradle"), is(true));
    assertThat(FileSystemUtil.checkFileOrResourceExists("/stg/Test.stg"), is(true));
    assertThat(FileSystemUtil.checkFileOrResourceExists("classpath:/stg/Test.stg"), is(true));
    assertThat(FileSystemUtil.checkFileOrResourceExists("/not/existing/file"), is(false));
    assertThat(FileSystemUtil.checkFileOrResourceExists("classpath:/not/existing/resource"), is(false));
}