1 /*******************************************************************************
2 * Copyright (c) 2009 Ordina and committers to Mod4j
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Ordina - initial implementation
10 *******************************************************************************/
11 package org.mod4j.dslcommon.generator.helpers;
12
13 import static org.junit.Assert.assertTrue;
14 import org.junit.Test;
15
16 public class ModelHelpersTest {
17
18 @Test
19 public void fileExistTest() {
20 assertTrue("Empty path does not exist. ", !ModelHelpers.fileExist(""));
21 assertTrue("HereIam.java does exist.", ModelHelpers.fileExist("src/test/resources/HereIam.java"));
22 }
23
24 }