PR review changes
This commit is contained in:
parent
c67a7e31c1
commit
6a05a88066
|
@ -7,7 +7,6 @@ public class VideoSender implements Sender {
|
||||||
@Override
|
@Override
|
||||||
public void send(File fileToBeSent) {
|
public void send(File fileToBeSent) {
|
||||||
// video sending implementation code
|
// video sending implementation code
|
||||||
System.out.println("Sending Video...");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -11,7 +11,6 @@ class SenderUnitTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void givenImageUploaded_whenButtonClicked_thenSendImage() {
|
void givenImageUploaded_whenButtonClicked_thenSendImage() {
|
||||||
|
|
||||||
File imageFile = new File(IMAGE_FILE_PATH);
|
File imageFile = new File(IMAGE_FILE_PATH);
|
||||||
|
|
||||||
Sender sender = new ImageSender();
|
Sender sender = new ImageSender();
|
||||||
|
|
|
@ -8,14 +8,12 @@ class VehicleUnitTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void givenVehicle_whenNeedToDrive_thenStart() {
|
void givenVehicle_whenNeedToDrive_thenStart() {
|
||||||
|
|
||||||
Vehicle car = new Car("BMW");
|
Vehicle car = new Car("BMW");
|
||||||
|
|
||||||
car.start();
|
car.start();
|
||||||
car.drive();
|
car.drive();
|
||||||
car.changeGear();
|
car.changeGear();
|
||||||
car.stop();
|
car.stop();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue