Skip to content

Commit fb3dce5

Browse files
committed
tests updated
1 parent a4d766d commit fb3dce5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package org.scm4j.vcs.api;
2+
3+
import org.junit.Test;
4+
5+
import static org.junit.Assert.assertEquals;
6+
7+
public class VCSChangeListNodeTest {
8+
9+
public static final String FILE_PATH = "file path";
10+
public static final String CONTENT = "content";
11+
public static final String LOG_MESSAGE = "logMessage";
12+
13+
@Test
14+
public void testVCSChangeListNode() {
15+
VCSChangeListNode node = new VCSChangeListNode(FILE_PATH, CONTENT, LOG_MESSAGE);
16+
assertEquals(FILE_PATH, node.getFilePath());
17+
assertEquals(CONTENT, node.getContent());
18+
assertEquals(LOG_MESSAGE, node.getLogMessage());
19+
}
20+
21+
}

0 commit comments

Comments
 (0)