List<IpBlock> ipBlocks = new ArrayList<IpBlock>();
ipBlocks.add(new IpBlock("192.168.1.1", "192.168.1.10"));
networkSvc.addIpPoolNetwork("staticNetwork", "network2", "255.255.255.0",
"192.168.1.254", "8.8.8.8", "4.4.4.4", ipBlocks);
new Verifications() {
{
NetworkEntity networkEntity = new NetworkEntity();
networkDao.insert(withAny(networkEntity));
networkDao.addIpBlocks(withAny(networkEntity),
withAny(new ArrayList<IpBlockEntity>()));