Changes after review
This commit is contained in:
parent
119c288942
commit
239da95f3d
@ -4,9 +4,9 @@ import static org.junit.Assert.assertNotNull;
|
|||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class DiamondOperatorTest {
|
public class DiamondOperatorUnitTest {
|
||||||
@Test
|
@Test
|
||||||
public void shouldCreateCarUsingDiamondWithoutWarnings() {
|
public void whenCreateCarUsingDiamondOperator_thenSuccess() {
|
||||||
Car<Diesel> myCar = new Car<>();
|
Car<Diesel> myCar = new Car<>();
|
||||||
assertNotNull(myCar);
|
assertNotNull(myCar);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user