Fix test names
This commit is contained in:
parent
651fe2c0fb
commit
0eb71c85d9
|
@ -31,7 +31,7 @@ public class CarEngineFacadeTest {
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testStartEngine() {
|
public void whenStartEngine_thenAllNecessaryActionsPerformed() {
|
||||||
CarEngineFacade carEngineFacade = new CarEngineFacade();
|
CarEngineFacade carEngineFacade = new CarEngineFacade();
|
||||||
carEngineFacade.startEngine();
|
carEngineFacade.startEngine();
|
||||||
assertTrue(appender.logContains("Fuel injector ready to inject fuel."));
|
assertTrue(appender.logContains("Fuel injector ready to inject fuel."));
|
||||||
|
@ -49,7 +49,7 @@ public class CarEngineFacadeTest {
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testStopEngine() {
|
public void whenStopEngine_thenAllNecessaryActionsPerformed() {
|
||||||
CarEngineFacade carEngineFacade = new CarEngineFacade();
|
CarEngineFacade carEngineFacade = new CarEngineFacade();
|
||||||
carEngineFacade.stopEngine();
|
carEngineFacade.stopEngine();
|
||||||
assertTrue(appender.logContains("Stopping Fuel injector..."));
|
assertTrue(appender.logContains("Stopping Fuel injector..."));
|
||||||
|
|
Loading…
Reference in New Issue