@Test
public void getFileName() {

    String fileName = "TestFile.pmml";
    String fullPath = String.format("%1$sthis%1$sis%1$sfull%1$spath%1$s%2$s",
                                    File.separator,
                                    fileName);
    String retrieved = PMMLCompilerService.getFileName(fullPath);
    assertEquals(fileName, retrieved);
    fullPath = String.format("%1$sthis%1$sis%1$sfull%1$spath%1$s%2$s",
                                    "/",
                                    fileName);
    retrieved = PMMLCompilerService.getFileName(fullPath);
    assertEquals(fileName, retrieved);
}