package com.trilead.ssh2.packets;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class PacketsTest {
	@Test
	public void getMessageName_BeyondEnd_Fails() {
		assertEquals("UNKNOWN MSG 8928392", Packets.getMessageName(8928392));
	}

	@Test
	public void getMessageName_Negative_Fails() {
		assertEquals("UNKNOWN MSG -1", Packets.getMessageName(-1));
	}
}
