package eu.nerro.wolappla.entity;

import org.junit.Test;

public class MacAddressTest {
  @Test(expected = IllegalArgumentException.class)
  public void valueOf_shouldThrowAIEIfAddressIsNull() {
    MacAddress.valueOf(null);
  }

  @Test(expected = IllegalArgumentException.class)
  public void valueOf_shouldThrowAIEIfAddressArrayLengthIsNotSix() {
    byte[] invalidAddress = { 1, 2, 3, 4, 5 };
    MacAddress.valueOf(invalidAddress);
  }
}

@@ -158,34 +158,34 @@
 ueOf_shouldThrow
-A
 I
+A
 EIfAddressIsNull
@@ -312,10 +312,10 @@
 hrow
-A
 I
+A
 EIfA

Fix typo in test class of mac address