package org.bitstrings.maven.plugins.portallocator;

import java.net.ServerSocket;

import mockit.Mock;
import mockit.MockUp;

public class ServerSocketMock
    extends MockUp<ServerSocket>
{
    @Mock
    public void $init( int port )
    {
        System.out.println();
        System.out.println( "MOCKING... port: " + port );
        System.out.println();
    }

    @Mock
    public void close()
    {
    }
}

@@ -239,126 +239,8 @@
   %7B%0A
-        System.out.println();%0A        System.out.println( %22MOCKING... port: %22 + port );%0A        System.out.println();%0A
     

remove debug info