Remove usage of toString to test NullPointerException

This commit is contained in:
Faiz Khan 2015-01-04 03:23:51 -06:00
parent dbb7efadcf
commit a2f94729ba
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class HelloMessageTest {
String peerId = ""; //null id
HelloMessage helloMessage = new HelloMessage(version, clientStr, capabilities, listenPort, peerId);
logger.info(helloMessage.toString());
//logger.info(helloMessage.toString());
assertEquals(P2pMessageCodes.HELLO, helloMessage.getCommand());
assertEquals(version, helloMessage.getP2PVersion());