File tree Expand file tree Collapse file tree
src/test/java/org/baeldung/java8/base64 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 <version >4.0</version >
2929 </dependency >
3030
31+ <dependency >
32+ <groupId >commons-codec</groupId >
33+ <artifactId >commons-codec</artifactId >
34+ <version >1.10</version >
35+ </dependency >
36+
3137 <dependency >
3238 <groupId >org.apache.commons</groupId >
3339 <artifactId >commons-lang3</artifactId >
Original file line number Diff line number Diff line change 1- package com . demo . encoding ;
1+ package org . baeldung . java8 . base64 ;
22
33import static org .junit .Assert .assertEquals ;
44import static org .junit .Assert .assertNotEquals ;
99import org .apache .commons .codec .binary .Base64 ;
1010import org .junit .Test ;
1111
12- public class ApacheCommonsEncodeDecode {
12+ public class ApacheCommonsEncodeDecodeTest {
1313
1414 @ Test
1515 public void whenStringIsEncoded () throws UnsupportedEncodingException {
Original file line number Diff line number Diff line change 1- package com . demo . encoding ;
1+ package org . baeldung . java8 . base64 ;
22
33import static org .junit .Assert .assertEquals ;
44import static org .junit .Assert .assertNotEquals ;
1010
1111import org .junit .Test ;
1212
13- public class Java8EncodeDecode {
13+ public class Java8EncodeDecodeTest {
1414
1515 @ Test
1616 public void whenStringIsEncoded () throws UnsupportedEncodingException {
You can’t perform that action at this time.
0 commit comments