Feature bael 5253 (#11526)

* BAEL-5032 Swagger to PDF

* BAEL-5032 added lombok as dependency

* BAEL-5253 moving the tests to other module

* renaming the test class

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Delete pom.xml

* Create pom.xml

Co-authored-by: Matea Pejčinović <matea.pejcinovic@intellexi.hr>
This commit is contained in:
Teica 2021-11-30 01:26:16 +01:00 committed by GitHub
parent 0d45985435
commit 719c4e4e0b
3 changed files with 10 additions and 5 deletions

View File

@ -24,6 +24,11 @@
<artifactId>commons-validator</artifactId> <artifactId>commons-validator</artifactId>
<version>${validator.version}</version> <version>${validator.version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -49,7 +54,7 @@
</build> </build>
<properties> <properties>
<guava.version>28.1-jre</guava.version> <guava.version>31.0.1-jre</guava.version>
<validator.version>1.7</validator.version> <validator.version>1.7</validator.version>
</properties> </properties>

View File

@ -1,15 +1,15 @@
package com.baeldung.isuppercase; package com.baeldung.isuppercase;
import com.google.common.base.Ascii;
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.TestInstance;
import com.google.common.base.Ascii;
import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.matchesPattern; import static org.hamcrest.Matchers.matchesPattern;
@TestInstance(TestInstance.Lifecycle.PER_CLASS) @TestInstance(TestInstance.Lifecycle.PER_CLASS)
public class StringFirstCharacterUppercase { public class StringFirstCharacterUppercaseUnitTest {
@Test @Test
public void givenString_whenCheckingWithCharacterIsUpperCase_thenStringCapitalized() { public void givenString_whenCheckingWithCharacterIsUpperCase_thenStringCapitalized() {