@Test
public void configureNicDhcpAndDnsTestAllDnsNull() {

    StringBuilder buf = new StringBuilder();
    DataCenterVO dc = configureDataCenterDns(null, null, null, null);
    VirtualMachineProfile profile = configureDcProfileAndVm(dc);
    spy.configureNicDhcpAndDns(profile, buf, true);
    Assert.assertEquals(" bootproto=dhcp internaldns1=null dns1=null", buf.toString());
}