@Test
    public void testDecodeVersion() throws Exception
    {
        // Setup test fixture.

        // Execute system under test.
        final int[] result = Session.decodeVersion("987.65");

        // Verify results.
        assertEquals(987, result[0]);
        assertEquals(65, result[1]);
    }
Unit tests that verify the implementation of {@link Session}.

@author Guus der Kinderen, guus@goodbytes.nl
xmppserver/src/test/java/org/jivesoftware/openfire/session/SessionTest.java