// Exception is expected if NOT raised test will fail
Assert.assertTrue(false);
- } catch (ConstructionException e) {
+ } catch (final ConstructionException e) {
}
// Array too short
// Exception is expected if NOT raised test will fail
Assert.assertTrue(false);
- } catch (ConstructionException e) {
+ } catch (final ConstructionException e) {
}
// Array too long
// Exception is expected if NOT raised test will fail
Assert.assertTrue(false);
- } catch (ConstructionException e) {
+ } catch (final ConstructionException e) {
}
}
ea2 = new EthernetAddress(new byte[] { (byte) 0x0, (byte) 0x0,
(byte) 0x0, (byte) 0x0, (byte) 0x0, (byte) 0x1 });
Assert.assertTrue(ea1.equals(ea2));
- } catch (ConstructionException e) {
+ } catch (final ConstructionException e) {
// Exception is NOT expected if raised test will fail
Assert.assertTrue(false);
}
ea2 = ea1.clone();
Assert.assertTrue(ea1.equals(ea2));
- } catch (ConstructionException e) {
+ } catch (final ConstructionException e) {
// Exception is NOT expected if raised test will fail
Assert.assertTrue(false);
}
ea2 = new EthernetAddress(new byte[] { (byte) 0xff, (byte) 0xff,
(byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff });
Assert.assertTrue(ea1.equals(ea2));
- } catch (ConstructionException e) {
+ } catch (final ConstructionException e) {
// Exception is NOT expected if raised test will fail
Assert.assertTrue(false);
}
ea2 = new EthernetAddress(new byte[] { (byte) 0x0, (byte) 0x0,
(byte) 0x0, (byte) 0x0, (byte) 0x0, (byte) 0x1 });
Assert.assertTrue(!ea1.equals(ea2));
- } catch (ConstructionException e) {
+ } catch (final ConstructionException e) {
// Exception is NOT expected if raised test will fail
Assert.assertTrue(false);
}