Changes after review

This commit is contained in:
Jose Carvajal 2017-09-13 14:36:14 +02:00
parent 119c288942
commit 239da95f3d

View File

@ -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);
} }