BAEL2489 Avoid check for null statement in Java
This commit is contained in:
parent
b1a4f6bb21
commit
55f7da4948
@ -5,7 +5,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
class PrimitivesAndWrapperTest {
|
class PrimitivesAndWrapperUnitTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenWrappers_whenBothArgsNonNull_thenReturnResult() {
|
public void givenWrappers_whenBothArgsNonNull_thenReturnResult() {
|
@ -6,7 +6,7 @@ import org.junit.jupiter.api.Test;
|
|||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
class UsingLombokTest {
|
class UsingLombokUnitTest {
|
||||||
|
|
||||||
private UsingLombok classUnderTest;
|
private UsingLombok classUnderTest;
|
||||||
|
|
@ -7,7 +7,7 @@ import org.junit.jupiter.api.Assertions;
|
|||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
class UsingObjectsTest {
|
class UsingObjectsUnitTest {
|
||||||
|
|
||||||
private UsingObjects classUnderTest;
|
private UsingObjects classUnderTest;
|
||||||
|
|
@ -9,7 +9,7 @@ import java.util.Optional;
|
|||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
class UsingOptionalTest {
|
class UsingOptionalUnitTest {
|
||||||
|
|
||||||
private UsingOptional classUnderTest;
|
private UsingOptional classUnderTest;
|
||||||
|
|
@ -6,7 +6,7 @@ import org.junit.jupiter.api.Test;
|
|||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
class UsingStringUtilsTest {
|
class UsingStringUtilsUnitTest {
|
||||||
|
|
||||||
private UsingStringUtils classUnderTest;
|
private UsingStringUtils classUnderTest;
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user