File tree Expand file tree Collapse file tree
hackster-service-client/src/test/java/com/lohika/jclub/hackster/client
hackster-service/src/test/java/com/lohika/jclub Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ public class HacksterServiceClientTest {
3232 private HacksterServiceClient hacksterServiceClient ;
3333
3434 @ Test
35- public void checkIfNewNumberIsNotHackster () {
35+ public void testIfNewNumberIsNotHackster () {
3636 boolean isHackster = hacksterServiceClient .isHackster ("123123123" );
3737
3838 assertThat (isHackster , equalTo (false ));
3939 }
4040
4141 @ Test
42- public void checkIfOldNumberIsNotHackster () {
42+ public void testIfNumberBecomeAHackster () {
4343 boolean isHacksterFalse = hacksterServiceClient .isHackster ("321321312" );
4444
4545 for (int i = 0 ; i < 5 ; i ++) {
Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ public class HacksterServiceApplicationTests {
2525 private MockMvc mockMvc ;
2626
2727 @ Test
28- public void checkIfNewPhoneNumberIsNotHakster () throws Exception {
28+ public void testIfNewPhoneNumberIsNotHakster () throws Exception {
2929 mockMvc .perform (get ("/hackster/123123123" ))
3030 .andDo (MockMvcResultHandlers .print ())
3131 .andExpect (status ().isOk ())
3232 .andExpect (content ().string ("false" ));
3333 }
3434
3535 @ Test
36- public void checkIfOldPhoneNumberIsNotHakster () throws Exception {
36+ public void testIfPhoneNumberBecomeAHakster () throws Exception {
3737 mockMvc .perform (get ("/hackster/321321" ))
3838 .andDo (MockMvcResultHandlers .print ())
3939 .andExpect (status ().isOk ())
You can’t perform that action at this time.
0 commit comments