@@ -0,0 +1,2229 @@
+/*%0A * Copyright (c) 2015 Inocybe and others.  All rights reserved.%0A *%0A * This program and the accompanying materials are made available under the%0A * terms of the Eclipse Public License v1.0 which accompanies this distribution,%0A * and is available at http://www.eclipse.org/legal/epl-v10.html%0A */%0A%0Apackage org.opendaylight.ovsdb.openstack.netvirt;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.opendaylight.ovsdb.openstack.netvirt.AbstractEvent.HandlerType;%0Aimport org.opendaylight.ovsdb.openstack.netvirt.api.Action;%0A%0A/**%0A * Unit test for %7B@link AbstractEvent%7D%0A */%0Apublic class AbstractEventTest %7B%0A%0A    private AbstractEventChild1 abstractEvent1;%0A    private AbstractEventChild2 abstractEvent2;%0A    private AbstractEventChild2 abstractEvent3;%0A%0A    class AbstractEventChild1 extends AbstractEvent%7B%0A        protected AbstractEventChild1(HandlerType handlerType, Action action) %7B%0A            super(handlerType, action);%0A        %7D%0A%0A    %7D%0A%0A    class AbstractEventChild2 extends AbstractEvent%7B%0A        protected AbstractEventChild2(HandlerType handlerType, Action action) %7B%0A            super(handlerType, action);%0A        %7D%0A    %7D%0A%0A%0A    @Before%0A    public void setUp()%7B%0A         abstractEvent1 = new AbstractEventChild1(HandlerType.SOUTHBOUND, Action.DELETE);%0A         abstractEvent2 = new AbstractEventChild2(HandlerType.NEUTRON_FLOATING_IP, Action.ADD);%0A         abstractEvent3 = abstractEvent2;%0A    %7D%0A%0A    @Test%0A    public void testAbstractEvent()%7B%0A        assertEquals(%22Error, getAction() did not return the correct value%22, Action.DELETE, abstractEvent1.getAction());%0A%0A        assertEquals(%22Error, getHandletType() did not return the correct value%22, HandlerType.SOUTHBOUND, abstractEvent1.getHandlerType());%0A%0A        assertTrue(%22Error, equals() did not succeed%22, abstractEvent2.equals(abstractEvent3));%0A%0A        assertNotNull(%22Error, hashCode() did not return any value%22, abstractEvent1.hashCode());%0A        assertEquals(%22Error, hashCode() is not consistent%22, abstractEvent2.hashCode(), abstractEvent3.hashCode());%0A%0A        assertEquals(%22Error, toString() did not return the correct value%22, %22AbstractEvent %5BhandlerType=SOUTHBOUND action=DELETE%5D%22, abstractEvent1.toString());%0A    %7D%0A%7D%0A

Add JUnit testing for AbstractEvent class.