Skip to content

Commit b357915

Browse files
josephine-barbozaCalamarBicefalo
authored andcommitted
BAEL-1857
1 parent ec084c3 commit b357915

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package com.baeldung;
2+
3+
import static org.junit.Assert.assertEquals;
4+
5+
import org.junit.Test;
6+
7+
public class StringFunctionTest {
8+
9+
@Test
10+
public void test_upperCase() {
11+
assertEquals("TESTCASE", "testCase".toUpperCase());
12+
}
13+
14+
@Test
15+
public void test_indexOf() {
16+
assertEquals(1, "testCase".indexOf("e"));
17+
}
18+
}

0 commit comments

Comments
 (0)