@@ -0,0 +1,546 @@
+package rabbit;%0A%0Aimport org.junit.Test;%0A%0Apublic class ReceiverTest %7B%0A%0A    /**%0A     * Instantiate receiver many times.%0A     */%0A    @Test%0A    public void multipleInstantiation() %7B%0A        for (int i = 0; i %3C 10; i++) %7B%0A            Receiver receiver = new Receiver();%0A        %7D%0A    %7D%0A%0A    /**%0A     * Close same connection multiple times.%0A     */%0A    @Test%0A    public void closeSameConnectionMultipleTimes() %7B%0A        Receiver receive = new Receiver();%0A        for (int i = 0; i %3C 10; i++) %7B%0A            receive.closeConnection();%0A        %7D%0A    %7D%0A%0A%7D%0A

Add unit tests for receiver.