File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/techreturners/cats Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,22 +8,22 @@ public class CatTest {
88 @ Test
99 public void checkCatIsAwake () {
1010 Cat domesticCat = new DomesticCat ();
11- assertFalse ("Cat should be awake by default" , domesticCat . isAsleep () );
11+ assertFalse (domesticCat . isAsleep (), "Cat should be awake by default" );
1212 }
1313
1414 @ Test
1515 public void checkCatCanGoToSleep () {
1616 Cat domesticCat = new DomesticCat ();
1717 domesticCat .goToSleep ();
18- assertTrue ("Cat should be snoozing" , domesticCat . isAsleep () );
18+ assertTrue (domesticCat . isAsleep (), "Cat should be snoozing" );
1919 }
2020
2121 @ Test
2222 public void checkCatCanWakep () {
2323 Cat domesticCat = new DomesticCat ();
2424 domesticCat .goToSleep ();
2525 domesticCat .wakeUp ();
26- assertFalse ("Cat should be awake now" , domesticCat . isAsleep () );
26+ assertFalse (domesticCat . isAsleep (), "Cat should be awake now" );
2727 }
2828
2929 @ Test
You can’t perform that action at this time.
0 commit comments