public boolean isNewerThan(JavaSpecVersion otherVersion) {
        return this.compareTo(otherVersion) > 0;
    }
@Test
    public void test11newerThan8() throws Exception
    {
        // Setup fixture.
        final JavaSpecVersion eight = new JavaSpecVersion( "1.8" );
        final JavaSpecVersion eleven = new JavaSpecVersion( "11" );

        // Execute system under test.
        final boolean result = eleven.isNewerThan( eight );

        // Verify results.
        assertTrue( result );
    }