BAEL-1857

This commit is contained in:
josephine-barboza 2018-08-11 14:18:30 +05:30 committed by José Carlos Valero Sánchez
parent ec084c3b65
commit b3579151a9
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package com.baeldung;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class StringFunctionTest {
@Test
public void test_upperCase() {
assertEquals("TESTCASE", "testCase".toUpperCase());
}
@Test
public void test_indexOf() {
assertEquals(1, "testCase".indexOf("e"));
}
}