import static com.google.common.truth.Truth.assertThat;
public class StringHelperTest {
@Test
public void testConcatenateStrings() {
StringHelper helper = new StringHelper();
String result = helper.concatenateStrings("Hello", "World");
assertThat(result).isEqualTo("Hello World");
}
}
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>1.1.2</version>
<scope>test</scope>
</dependency>