* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.protocol.bgp.parser.impl.message.update.extended.communities;
import static org.opendaylight.protocol.bgp.parser.impl.message.update.extended.communities.RouteOrigin4OctectASEcHandlerTest.AS_COMMON;
Generic4OctASEcHandler handler;
@Before
- public void Setup() {
+ public void before() {
this.handler = new Generic4OctASEcHandler();
}
Assert.assertArrayEquals(INPUT, output.array());
}
- @Test(expected=IllegalArgumentException.class)
- public void testHandlerError() throws BGPDocumentedException, BGPParsingException {
+ @Test(expected = IllegalArgumentException.class)
+ public void testHandlerError() {
this.handler.serializeExtendedCommunity(new As4RouteOriginExtendedCommunityCaseBuilder().build(), null);
}
}
\ No newline at end of file