BAEL-994 - TemporalAdjuster in Java (#2227)
* Evaluation article: Different Types of Bean Injection in Spring * added tests & changed configuration to Java-based config * removed xml config files * rename unit tests * BAEL-972 - Apache Commons Text * remove code from evaluation article * remove code from evaluation article * BAEL-972 - Apache Commons Text - added another example * BAEL-972 - Apache Commons Text - just indentation * BAEL-994 - TemporalAdjuster in Java
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
fdd26c7c52
commit
647455b029
@@ -5,12 +5,12 @@ import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class StrBuilderTest {
|
||||
|
||||
|
||||
@Test
|
||||
public void whenReplaced_thenCorrect() {
|
||||
StrBuilder strBuilder = new StrBuilder("example StrBuilder!");
|
||||
strBuilder.replaceAll("example", "new");
|
||||
|
||||
|
||||
Assert.assertEquals(new StrBuilder("new StrBuilder!"), strBuilder);
|
||||
}
|
||||
|
||||
@@ -21,4 +21,4 @@ public class StrBuilderTest {
|
||||
|
||||
Assert.assertEquals(new StrBuilder(""), strBuilder);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user