@Test
public void createDefaultNicTest() {

    NicProfile result = spy.createDefaultNic();
    Assert.assertEquals(true, result.isDefaultNic());
    Assert.assertEquals(new Integer(2), result.getDeviceId());
}